Class: Aws::Xray::IoSocket

Inherits:
Object
  • Object
show all
Defined in:
lib/aws/xray/sockets.rb

Instance Method Summary collapse

Constructor Details

#initialize(io) ⇒ IoSocket

Returns a new instance of IoSocket.



21
22
23
# File 'lib/aws/xray/sockets.rb', line 21

def initialize(io)
  @io = io
end

Instance Method Details

#closeObject



29
# File 'lib/aws/xray/sockets.rb', line 29

def close; end

#send(body) ⇒ Object



25
26
27
# File 'lib/aws/xray/sockets.rb', line 25

def send(body, *)
  @io.write(body)
end