LUISAuthoringClientContext class
- Extends
LUISAuthoring |
LUISAuthoringClientContext 클래스의 새 인스턴스를 초기화합니다. |
send |
제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다. |
send |
제공된 httpRequest를 보냅니다. |
LUISAuthoringClientContext 클래스의 새 인스턴스를 초기화합니다.
new LUISAuthoringClientContext(credentials: ServiceClientCredentials, endpoint: string, options?: ServiceClientOptions)
매개 변수
- credentials
- ServiceClientCredentials
클라이언트 구독을 고유하게 식별하는 구독 자격 증명입니다.
- endpoint
-
string
지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus.api.cognitive.microsoft.com).
- options
- ServiceClientOptions
매개 변수 옵션
endpoint: string
속성 값
string
제공된 OperationSpec을 사용하여 채워진 HTTP 요청을 보냅니다.
function sendOperationRequest(operationArguments: OperationArguments, operationSpec: OperationSpec, callback?: ServiceCallback<any>): Promise<RestResponse>
매개 변수
- operationArguments
- OperationArguments
HTTP 요청의 템플릿 값이 채워질 인수입니다.
- operationSpec
- OperationSpec
httpRequest를 채우는 데 사용할 OperationSpec입니다.
- callback
-
ServiceCallback<any>
응답을 받을 때 호출할 콜백입니다.
반환
Promise<RestResponse>
msRest.ServiceClient.sendOperationRequest에서 상속됨
제공된 httpRequest를 보냅니다.
function sendRequest(options: RequestPrepareOptions | WebResourceLike): Promise<HttpOperationResponse>
매개 변수
- options
반환
Promise<HttpOperationResponse>
msRest.ServiceClient.sendRequest에서 상속됨