class AMQP::Client::WebSocketIO

Included Modules

Defined in:

amqp-client/websocket_io.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ws : HTTP::WebSocket) #

[View source]

Instance Method Detail

def read_timeout=(timeout) #

[View source]
def unbuffered_close : Nil #
Description copied from module IO::Buffered

Closes the wrapped IO.


[View source]
def unbuffered_flush #
Description copied from module IO::Buffered

Flushes the wrapped IO.


[View source]
def unbuffered_read(bytes : Bytes) #
Description copied from module IO::Buffered

Reads at most slice.size bytes from the wrapped IO into slice. Returns the number of bytes read.


[View source]
def unbuffered_rewind #
Description copied from module IO::Buffered

Rewinds the wrapped IO.


[View source]
def unbuffered_write(bytes : Bytes) : Nil #
Description copied from module IO::Buffered

Writes at most slice.size bytes from slice into the wrapped IO. Returns the number of bytes written.


[View source]