Bun

interface

FdSocketOptions

interface FdSocketOptions<Data = undefined>

  • data?: Data

    The per-instance data context

  • fd: number

    The file descriptor to connect to

  • socket: SocketHandler<Data>

    Handlers for socket events

  • tls?: TLSOptions

    TLS Configuration with which to create the socket