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.



23
24
25
# File 'lib/aws/xray/sockets.rb', line 23

def initialize(io)
  @io = io
end

Instance Method Details

#closeObject



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

def close; end

#send(body) ⇒ Object



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

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