Skip to content
FutureBlitz

    Install

    Import std.net.http.wire

    std.net.http.wire

    HTTP/1.1 messages as their bytes go over the wire, per RFC 9112.

    The server reads requests and writes responses in it, and a WebSocket's handshake is a request and a response in it too. A connection is a Duplex, so a TLS stream can be one as a TcpStream is.

    std/net/http/wire.fb

    Extends

    TcpStream extend

    Extend TcpStream Implements Duplex

    Makes a TcpStream a Duplex, a connection that HTTP/1.1's messages go both ways over.

    std/net/http/wire.fb, line 33

    Report an issue with this page or with FutureBlitz on GitHub.