module Messenger::Action::Handshake

Included Modules

Extended Modules

Defined in:

cocol/node/messenger.cr

Constant Summary

PATH = "/peers"

Instance Method Summary

Instance methods inherited from module Messenger::Action::Base

broadcast(to endpoint : String, body : String) : Void broadcast, get(from uri : URI) : HTTP::Client::Response? get, peer_uri(from peer : Messenger::Struct::Peer) : URI peer_uri, post(to uri : URI, body : String) : HTTP::Client::Response? post

Instance Method Detail

def call(peer : Messenger::Struct::Peer) : HTTP::Client::Response? #

[View source]