(self: HttpServerRequest, options?: {
readonly signal?: AbortSignal | undefined
})
| 1086 | * @since 4.0.0 |
| 1087 | */ |
| 1088 | export const toWeb = (self: HttpServerRequest, options?: { |
| 1089 | readonly signal?: AbortSignal | undefined |
| 1090 | }): Effect.Effect<Request, RequestError> => |
| 1091 | Effect.contextWith((context) => |
| 1092 | Effect.fromResult(toWebResult(self, { |
| 1093 | context, |
| 1094 | signal: options?.signal |
| 1095 | })) |
| 1096 | ) |
nothing calls this directly
no test coverage detected