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

Function urlParamsBody

packages/platform/node/src/NodeHttpIncomingMessage.ts:109–115  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 }
108
109 get urlParamsBody(): Effect.Effect<UrlParams.UrlParams, E> {
110 return Effect.flatMap(this.text, (_) =>
111 Effect.try({
112 try: () => UrlParams.fromInput(new URLSearchParams(_)),
113 catch: this.onError
114 }))
115 }
116
117 get stream(): Stream.Stream<Uint8Array, E> {
118 return NodeStream.fromReadable({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected