Module serverino.interfaces

Everything you need to communicate.

Classes

NameDescription
WebSocket A WebSocket. You can use this to send and receive WebSocket messages.

Structs

NameDescription
Cookie A cookie. Use Cookie("key", "value") to create a cookie. You can chain methods.
Output A response to user. Default content-type is "text/html".
Request A request from user. Do not store ref to this struct anywhere.
WebSocketMessage A low-level representation of a WebSocket message. Probably you don't need to use this directly.

Enums

NameDescription
HttpVersion HTTP version used in request