Skip to main content

$BuildRequestWithBaseInit

BFChainInterface$BuildRequestWithBaseInitAbout 1 min

Inherit the interface with $BuildRequestInit;

Property

  • 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 RequestCache

  • credentials

    optional attributes
    the requested credentials;
    The legal type of attribute value is RequestCredentials

  • 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 type of the attribute value is RequestRedirect

  • 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 ReferrerPolicy

  • signal

    optional attributes;
    Set the termination signal of the request;
    The type of attribute value is AbortSignal
    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
baseX
searchX
bodyX
cacheX
credentialsX
headersX
integrityX
keepaliveX
methodX
modeX
referrerX
referrerPolicyX
signalX
widowX

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