Skip to main content Link Search Menu Expand Document (external link)

NodeSocket.ts overview

Since v1.0.0


Exports Grouped by Category


layers

layerWebSocket

Signature

declare const layerWebSocket: (
  url: string,
  options?: { readonly closeCodeIsError?: (code: number) => boolean }
) => Layer.Layer<Socket.Socket>

Source

Since v1.0.0

layerWebSocketConstructor

Signature

declare const layerWebSocketConstructor: Layer.Layer<Socket.WebSocketConstructor>

Source

Since v1.0.0

utils

“@effect/platform-node-shared/NodeSocket” (namespace export)

Re-exports all named exports from the “@effect/platform-node-shared/NodeSocket” module.

Signature

export * from "@effect/platform-node-shared/NodeSocket"

Source

Since v1.0.0