interface SocketResponse {
    data?: RequestData;
    error?: Error;
    request: SocketRequest;
    status?: string;
    userId?: string;
}

Properties

Data returned as a result of the request

error?: Error

An error, if one occurred

request: SocketRequest

The initial request

status?: string

The status of the request

userId?: string

The ID of the requesting User