@libp2p/http
    Preparing search index...

    Interface WebServer

    A WebServer that can accept incoming libp2p streams and transform them into an HTTP request that can be processed

    interface WebServer {
        inject(
            info: HeaderInfo,
            stream: Stream,
            connection: Connection,
        ): Promise<void>;
    }
    Index

    Methods

    Methods