Web overview
Http and https connection methods for the web.
Added in v1.0.0
Table of contents
Browser
makeWebHttpClientLayer
Given the moby connection options, it will construct a layer that provides a http client that you could use to connect to your moby instance.
This function will dynamically import the @effect/platform-browser
package.
Signature
export declare const makeWebHttpClientLayer: (
connectionOptions: HttpConnectionOptionsTagged | HttpsConnectionOptionsTagged
) => Layer.Layer<HttpClient.HttpClient | Socket.WebSocketConstructor, never, never>
Added in v1.0.0