Libraries
    Preparing search index...

    A server entry in the AsyncAPI 3.0 servers map. Describes a connection endpoint where the API is accessible.

    interface AsyncApiServerEntry {
        description?: string;
        host: string;
        pathname?: string;
        protocol: "http" | "ws" | "wss" | "https";
    }
    Index

    Properties

    description?: string

    An optional string describing the server.

    host: string

    The host of the server (hostname + optional port).

    `'api.example.com'`, `'localhost:3000'`
    
    pathname?: string

    The path component of the server URL.

    protocol: "http" | "ws" | "wss" | "https"

    The protocol used to connect to the server.