Web SDK - IGatewayForwardableBody

Home > rainway-sdk > IGatewayForwardableBody

IGatewayForwardableBody type

Signature:

export declare type IGatewayForwardableBody = {
    discriminator: 1;
    value: IConnectionRequest;
} | {
    discriminator: 2;
    value: IAcceptedConnectionRequest;
} | {
    discriminator: 3;
    value: IRejectedConnectionRequest;
} | {
    discriminator: 4;
    value: IPeerSignalingInformation;
};

References: IConnectionRequest, IAcceptedConnectionRequest, IRejectedConnectionRequest, IPeerSignalingInformation