SDK reference / Models / Network

ApiTransform

Kind: class

Namespace: Egulu.Sdk.Models.Network

What an operation changes on the way through the gateway. The platform owns Host, the length and connection headers, the forwarding headers and x-plat-*: a transform cannot touch them.

Properties

NameTypeJSON nameDescription
MaxBodyBytesint?maxBodyBytesThe largest request body in bytes, 0 to 10485760. Omitted: the gateway's own cap.
RequestHeadersRemoveList<string>?requestHeadersRemoveHeaders taken off the request to the backend.
RequestHeadersSetModels.Network.ApiTransform_requestHeadersSet?requestHeadersSetHeaders set on the request to the backend, at most 16.
ResponseHeadersRemoveList<string>?responseHeadersRemoveHeaders taken off the answer.
ResponseHeadersSetModels.Network.ApiTransform_responseHeadersSet?responseHeadersSetHeaders set on the answer.
RewritePathstring?rewritePathThe path the backend sees, a template over the operation's own parameters (`/internal/pets/{petId}`). Omitted: the operation's path.
TimeoutSecondsint?timeoutSecondsSeconds a request may take up to the first byte of the answer, 1 to 600. Omitted: 60.