@azure/ms-rest-js
Version:
Isomorphic client Runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest
20 lines (16 loc) • 555 B
text/typescript
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
import { Mapper } from "./serializer";
/**
* An OperationResponse that can be returned from an operation request for a single status code.
*/
export interface OperationResponse {
/**
* The mapper that will be used to deserialize the response headers.
*/
headersMapper?: Mapper;
/**
* The mapper that will be used to deserialize the response body.
*/
bodyMapper?: Mapper;
}