Skip to content

APIProcessingCallbackArgument

Qamsari edited this page Jul 26, 2021 · 2 revisions

Type that use in send data to OnProcessing callback in BasisCore API Component. this class inherit from CallbackArgument.

export declare type APIProcessingCallbackArgument = CallbackArgument & {
  request: Request;
  response: Promise<Response> | Response;
};

properties:

  • request
    Request object present api http request that must be send;
  • response
    Response object that must create or receive from web. this property accept Promise object for asynchronous process.

Clone this wiki locally