Class: DS9::Client

Inherits:
Session show all
Defined in:
lib/ds9.rb,
ext/ds9/ds9.c

Instance Method Summary collapse

Methods inherited from Session

#initialize, #last_proc_stream_id, #mem_receive, #mem_send, #outbound_queue_size, #receive, #resume_data, #send, #stream_local_closed?, #stream_remote_closed?, #submit_goaway, #submit_ping, #submit_settings, #terminate_session, #want_read?, #want_write?

Constructor Details

This class inherits a constructor from DS9::Session

Instance Method Details

#submit_request(headers, body = nil) ⇒ Object



122
123
124
125
126
127
128
# File 'lib/ds9.rb', line 122

def submit_request headers, body = nil
  case body
  when String
    body = StringIO.new body
  end
  super(headers, body)
end