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

Function asFormUrlEncoded

packages/effect/src/unstable/httpapi/HttpApiSchema.ts:869–875  ·  view source on GitHub ↗
(options?: {
  readonly contentType?: string
})

Source from the content-addressed store, hash-verified

867 * @since 4.0.0
868 */
869export function asFormUrlEncoded(options?: {
870 readonly contentType?: string
871}) {
872 return <S extends Schema.Top>(
873 self: S
874 ) => asNonMultipartEncoding(self, { _tag: "FormUrlEncoded", ...options })
875}
876
877/**
878 * Marks a schema as a text payload / response.

Callers

nothing calls this directly

Calls 1

asNonMultipartEncodingFunction · 0.85

Tested by

no test coverage detected