Class DefaultTransporter (9.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
Package
google-auth-library
Properties
USER_AGENT
static readonly USER_AGENT: string;
Methods
configure(opts?: GaxiosOptions): GaxiosOptions;
Configures request options before making a request.
Parameter |
---|
Name | Description |
opts |
GaxiosOptions
GaxiosOptions options. Configured options.
|
Returns |
---|
Type | Description |
GaxiosOptions | |
request(opts)
request<T>(opts: GaxiosOptions): GaxiosPromise<T>;
Makes a request using Gaxios with given options.
Parameter |
---|
Name | Description |
opts |
GaxiosOptions
GaxiosOptions options.
|
Returns |
---|
Type | Description |
GaxiosPromise<T> | |
Type Parameter |
---|
Name | Description |
T | |
request(opts, callback)
request<T>(opts: GaxiosOptions, callback?: BodyResponseCallback<T>): void;
Parameters |
---|
Name | Description |
opts |
GaxiosOptions
|
callback |
BodyResponseCallback<T>
|
Returns |
---|
Type | Description |
void | |
Type Parameter |
---|
Name | Description |
T | |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-03-16 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]