[][src]Module ratsio::protocol

Structs

Ack

Ack will deliver an ack for a delivered msg.

CloseRequest

Protocol for a client to close a connection

CloseResponse

Response for CloseRequest

ConnectRequest

Connection Request

ConnectResponse

Response to a client connect

MsgProto

Msg struct. Sequence is assigned for global ordering by the cluster after the publisher has been acknowledged.

Ping

PING from client to server

PingResponse

PING response from the server

PubAck

Used to ACK to publishers

PubMsg

How messages are delivered to the STAN cluster

SubscriptionRequest

Protocol for a client to subscribe

SubscriptionResponse

Response for SubscriptionRequest and UnsubscribeRequests

UnsubscribeRequest

Protocol for a clients to unsubscribe. Will return a SubscriptionResponse

Enums

StartPosition

Enum for start position type.