Skip to main content

$ExterRequestWithBaseInit

BFChainInterface$ExterRequestWithBaseInitAbout 1 min

The initialization data interface of the extension request;
Inheritance and $BuildRequestWithBaseInit interface

Property

  • pathname

    The requested path; the attribute value is a string;

  • base

    Optional attribute; the base path of the request; the attribute value is string;

  • search

    optional attributes;
    the requested search criteria;
    Legal types for parameters are:

    URLSearchParamsopen in new window

    string

    object

    Two-dimensional array

  • body

    optional attributes;
    the subject data of the request;
    Legal types for attribute values are;

    BodyInit

    null

  • cache

    optional attributes;
    the requested cache mode;
    Legal types for attribute values are RequestCacheopen in new window

  • credentials

    optional attributes
    Define rules for sending cookies
    The legal type of attribute value is RequestCredentialsopen in new window

  • headers

    optional attributes;
    The header data of the request;
    Legal types for attribute values are HeadersInit

  • integrity

    optional attributes
    the requested subresource;
    The legal type of attribute value is string;

  • keepalive

    optional attributes;
    Whether to keep alive; initiate multiple requests on the same TCP connection;
    The legal type of attribute value is boolean;

  • method

    optional attributes;
    the requested method;
    Legal values are:
    "GET"

    "POST"

    "PUT"

    "DELETE"

    "PATCH"

    "OPTIONS"

    "HEAD"

    "CONNECT"

    "TRACE"

  • mode

    optional attributes;
    Define the same-origin policy;
    The type of attribute value is RequestMode

  • redirect

    optional attributes;
    How to handle redirects
    The attribute value is of type RequestRedirectopen in new window

  • referrer

    Priority
    who initiated the request;
    The type that the attribute refers to is string;

  • referrerPolicy

    optional attributes;
    Set the referrer policy of the request;
    The type of attribute value is ReferrerPolicyopen in new window

  • signal

    optional attributes;
    Set the termination signal of the request;
    The type of attribute value is AbortSignalopen in new window
    or null;

  • widow

    optional attributes;
    The window used to contact the association;
    The attribute value can only be null;

Method

  • none

Event

  • none

Platform Compatibility

Property/Method/EventAndroidIOSDesktop-DevDesktop
pathnameX
baseX
searchX
bodyX
cacheX
credentialsX
headersX
integrityX
keepaliveX
methodX
modeX
referrerX
referrerPolicyX
signalX
widowX

Comments
  • Latest
  • Oldest
  • Hottest
Powered by Waline v2.15.7