MCPcopy Create free account
hub / github.com/Effect-TS/effect / getEncoding

Function getEncoding

packages/effect/src/unstable/httpapi/HttpApiSchema.ts:946–948  ·  view source on GitHub ↗
(ast: SchemaAST.AST)

Source from the content-addressed store, hash-verified

944}
945
946function getEncoding(ast: SchemaAST.AST): Encoding {
947 return resolveHttpApiEncoding(ast) ?? defaultJsonEncoding
948}
949
950/** @internal */
951export function getPayloadEncoding(ast: SchemaAST.AST, method: HttpMethod): PayloadEncoding {

Callers 1

getResponseEncodingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected