Skip to main content

Type Alias: GoatHeaders

GoatHeaders = Headers | NodeHeadersPolyfill

Defined in: net/server/http-compat.ts:179

Union type representing the possible header implementations supported by GoatRequest. This can be either the web standard Headers class or our NodeHeadersPolyfill implementation for Node.js environments where the web standard Headers is not available.