Results for “Std.Tls.Secured”
17 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Tls.Secured
A connection whose contents only the two ends can read.
- Std.Tls.close
&Std.Tls.Secured -> Result[(), Std.Tls.TlsError]Close a connection, telling the far end it ended.
- Std.Tls.closeWithin
&Std.Tls.Secured -> Int -> Result[(), Std.Tls.TlsError]Close a connection, bounding the protocol goodbye before the socket closes.
- Std.Tls.connect
Str -> Int -> Result[Std.Tls.Secured, Std.Tls.TlsError]Open a connection and prove the far end is the host that was named.
- Std.Tls.connectWithin
Str -> Int -> Int -> Result[Std.Tls.Secured, Std.Tls.TlsError]Open and verify a connection within the stated milliseconds.
- Std.Tls.foldChunks
&Std.Tls.Secured -> T -> fn(T, Bytes) -> T -> Result[T, Std.Tls.TlsError]Combine everything the far end sends into one value, holding one chunk at a
- Std.Tls.peerOf
&Std.Tls.Secured -> Result[Str, Std.Tls.TlsError]The host this connection was opened against, which is the name that was
- Std.Tls.receive
&Std.Tls.Secured -> Int -> Result[Option[Bytes], Std.Tls.TlsError]The next bytes, or nothing when the far end has finished.
- Std.Tls.receiveAll
&Std.Tls.Secured -> Result[Bytes, Std.Tls.TlsError]Everything the far end sends until it finishes, joined once rather than
- Std.Tls.receiveUntil
&Std.Tls.Secured -> &Bytes -> Int -> Result[(Bytes, Bytes), Std.Tls.TlsError]Read until a marker arrives, answering what came before it and what came
- Std.Tls.receiveWithin
&Std.Tls.Secured -> Int -> Int -> Result[Option[Bytes], Std.Tls.TlsError]Read the next bytes within the stated milliseconds.
- Std.Tls.send
&Std.Tls.Secured -> &Bytes -> Result[(), Std.Tls.TlsError]Send bytes, and keep sending until every one has gone.
- Std.Tls.sendText
&Std.Tls.Secured -> Str -> Result[(), Std.Tls.TlsError]Send text, as its UTF-8 encoding.
- Std.Tls.sendTextWithin
&Std.Tls.Secured -> Str -> Int -> Result[(), Std.Tls.TlsError]Send text within the stated milliseconds.
- Std.Tls.sendWithin
&Std.Tls.Secured -> &Bytes -> Int -> Result[(), Std.Tls.TlsError]Send bytes within the stated milliseconds.
- Std.Tls.upgradeWithin
&Std.Net.Connection -> Str -> Int -> Result[Std.Tls.Secured, Std.Tls.TlsError]Consume a plain connection at an agreed TLS boundary, verifying the host.
- Std.Tls.withConnection
Str -> Int -> fn(Std.Tls.Secured) -> Result[T, Std.Tls.TlsError] -> Result[T, Std.Tls.TlsError]Open a connection, hand it to an action, and close it however the action
