class Etherpc::Transports::WebSocket

Defined in:

etherpc/transports/web_socket.cr

Constructors

Instance Method Summary

Instance methods inherited from class Etherpc::Transport

send(id, method_name, params) send

Constructor Detail

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

[View source]

Instance Method Detail

def on_event(&on_event : String, JSON::Any -> ) #

[View source]
def on_response(&on_response : Int32, JSON::Any -> ) #

[View source]
def send(id, method_name, params) #

[View source]