Results for “Std.Http.Server.Socket.SocketError”
5 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Http.Server.Socket.SocketError
Why a connection was refused or a frame would not be read.
- Std.Http.Server.Socket.accept
&Std.Http.Server.Route.Request -> &Array[Str] -> Result[Std.Http.Response, Std.Http.Server.Socket.SocketError]The answer that agrees to a lasting connection, or the reason it is refused.
- Std.Http.Server.Socket.decode
&Bytes -> Int -> Result[(Std.Http.Server.Socket.Frame, Int), Std.Http.Server.Socket.SocketError]The frame at the start of these bytes, and how many bytes it used.
- Std.Http.Server.Socket.explain
&Std.Http.Server.Socket.SocketError -> StrWhat a refusal says.
- Std.Http.Server.Socket.messageOf
&Std.Http.Server.Socket.Frame -> Result[Std.Http.Server.Socket.Message, Std.Http.Server.Socket.SocketError]What a frame means, once it is whole.
