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

Node overview

Added in v1.0.0


Table of contents


constructors

make

Signature

export declare const make: (
  options: Net.ServerOpts & Net.ListenOptions
) => Effect.Effect<SocketServer.SocketServer, SocketServer.SocketServerError, Scope.Scope>

Added in v1.0.0

makeWebSocket

Signature

export declare const makeWebSocket: (
  options: WS.ServerOptions
) => Effect.Effect<SocketServer.SocketServer, SocketServer.SocketServerError, Scope.Scope>

Added in v1.0.0

exports

From “../SocketServer.js”

Re-exports all named exports from the “../SocketServer.js” module.

Signature

export * from "../SocketServer.js"

Added in v1.0.0

layers

layer

Signature

export declare const layer: (
  options: Net.ServerOpts & Net.ListenOptions
) => Layer.Layer<SocketServer.SocketServer, SocketServer.SocketServerError>

Added in v1.0.0

layerWebSocket

Signature

export declare const layerWebSocket: (
  options: WS.ServerOptions
) => Layer.Layer<SocketServer.SocketServer, SocketServer.SocketServerError>

Added in v1.0.0

tags

IncomingMessage

Signature

export declare const IncomingMessage: any

Added in v1.0.0

IncomingMessage (interface)

Signature

export interface IncomingMessage {
  readonly _: unique symbol
}

Added in v1.0.0