tcp_client

Types

pub type ClientMessage {
  ReceiveMessage(BitString)
  SendMessage(BitBuilder)
  Close
}

Constructors

  • ReceiveMessage(BitString)
  • SendMessage(BitBuilder)
  • Close

Functions

pub fn init(host: String, port: Int) -> #(
  Subject(ClientMessage),
  Subject(ClientMessage),
)
Search Document