Flowdock
method

encode_gzip

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::RPC::SOAPlet
encode_gzip(req, outstring) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/soap/rpc/soaplet.rb, line 139
  def encode_gzip(req, outstring)
    unless encode_gzip?(req)
      return nil
    end
    begin
      ostream = StringIO.new
      gz = Zlib::GzipWriter.new(ostream)
      gz.write(outstring)
      ostream.string
    ensure
      gz.close
    end
  end
Register or log in to add new notes.