Skip to content

Function: URLToResponse() ​

URLToResponse(url, method, headers): Effect<Response, FetchError>

Defined in: packages/fetch-one-api-page/src/index.ts:59

Parameters ​

url ​

URL

method ​

"GET" | "POST" | "PUT" | "DELETE"

headers ​

Headers

Returns ​

Effect<Response, FetchError>