UNPKG

555 BPlain TextView Raw
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the MIT License. See License.txt in the project root for license information.
3
4import { Mapper } from "./serializer";
5
6/**
7 * An OperationResponse that can be returned from an operation request for a single status code.
8 */
9export interface OperationResponse {
10 /**
11 * The mapper that will be used to deserialize the response headers.
12 */
13 headersMapper?: Mapper;
14
15 /**
16 * The mapper that will be used to deserialize the response body.
17 */
18 bodyMapper?: Mapper;
19}