interface SubmitResponse {
    requestId: utils.agent.RequestId;
    response: {
        ok: boolean;
        status: number;
        statusText: string;
        body: null | {
            error_code?: string;
            reject_code: number;
            reject_message: string;
            certificate?: ArrayBuffer;
        };
        headers: utils.agent.HttpHeaderField[];
    };
    requestDetails?: utils.agent.CallRequest;
}

Properties

requestId: utils.agent.RequestId
response: {
    ok: boolean;
    status: number;
    statusText: string;
    body: null | {
        error_code?: string;
        reject_code: number;
        reject_message: string;
        certificate?: ArrayBuffer;
    };
    headers: utils.agent.HttpHeaderField[];
}

Type declaration

  • ok: boolean
  • status: number
  • statusText: string
  • body: null | {
        error_code?: string;
        reject_code: number;
        reject_message: string;
        certificate?: ArrayBuffer;
    }
  • headers: utils.agent.HttpHeaderField[]
requestDetails?: utils.agent.CallRequest