You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, just need to call Network.send(socket, compressed_data) from the sending server and the server on the receiving end will call the deflate method on the received data to get the original message.
The text was updated successfully, but these errors were encountered:
After adding support for server-to-server communication, add ziplink support. This can be achieved by the following example:
@require 'zlib'
some_str = Zlib::Deflate.deflate("hello world!")
puts some_str
puts Zlib::Inflate.inflate(some_str)@
So, just need to call Network.send(socket, compressed_data) from the sending server and the server on the receiving end will call the deflate method on the received data to get the original message.
The text was updated successfully, but these errors were encountered: