Member Junction
    Preparing search index...

    Interface RealtimeRelayGrant

    What RealtimeProxyRegistry.OpenRelaySession grants one connection.

    interface RealtimeRelayGrant {
        ConnectionNumber: number;
        DriverClass?: string;
        ExpiresAtMs: number;
        MaxConnections: number;
        Policy: IRealtimeRelayPolicy;
        Resumed: boolean;
        UpstreamUrl: string;
        UserID?: string;
    }
    Index

    Properties

    ConnectionNumber: number

    This connection's number within the session: 1 for the fresh one, then one more per resume.

    DriverClass?: string

    The driver class that minted the session.

    ExpiresAtMs: number

    Epoch ms at which the session ends; the relay closes the connection then.

    MaxConnections: number

    The session's connection limit.

    The session's frame policy.

    Resumed: boolean

    true for a resume (the browser presented a forwarded handle), false for the fresh connection.

    UpstreamUrl: string

    The upstream websocket URL.

    UserID?: string

    The MJ user the session was minted for.