Dela via


WebSearchClient class

Extends

Konstruktorer

WebSearchClient(ServiceClientCredentials, WebSearchClientOptions)

Initierar en ny instans av klassen WebSearchClient.

Egenskaper

web

Ärvda egenskaper

credentials
endpoint

Ärvda metoder

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

Skicka en HTTP-begäran som fylls i med hjälp av angiven OperationSpec.

sendRequest(RequestPrepareOptions | WebResourceLike)

Skicka angivet httpRequest.

Konstruktorinformation

WebSearchClient(ServiceClientCredentials, WebSearchClientOptions)

Initierar en ny instans av klassen WebSearchClient.

new WebSearchClient(credentials: ServiceClientCredentials, options?: WebSearchClientOptions)

Parametrar

credentials
ServiceClientCredentials

Autentiseringsuppgifter för prenumeration som unikt identifierar klientprenumeration.

options
WebSearchClientOptions

Parameteralternativen

Egenskapsinformation

web

web: Web

Egenskapsvärde

Web

Information om ärvda egenskaper

credentials

credentials: ServiceClientCredentials

Egenskapsvärde

Ärvd frånWebSearchClientContext.credentials

endpoint

endpoint?: string

Egenskapsvärde

string

Ärvd frånWebSearchClientContext.endpoint

Ärvd metodinformation

sendOperationRequest(OperationArguments, OperationSpec, ServiceCallback<any>)

Skicka en HTTP-begäran som fylls i med hjälp av angiven OperationSpec.

function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>

Parametrar

operationArguments
OperationArguments

Argumenten som HTTP-begärans mallade värden fylls i från.

operationSpec
OperationSpec

Den OperationSpec som ska användas för att fylla i httpRequest.

callback

ServiceCallback<any>

Återanropet att anropa när svaret tas emot.

Returer

Promise<RestResponse>

Ärvd frånWebSearchClientContext.sendOperationRequest

sendRequest(RequestPrepareOptions | WebResourceLike)

Skicka angivet httpRequest.

function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>

Parametrar

Returer

Ärvd frånWebSearchClientContext.sendRequest