Go to Latest
class Pipe
import { Pipe } from "https://dotland.deno.dev/std@0.177.0/node/internal_binding/pipe_wrap.ts";

Constructors

new
Pipe(type: number, conn?: Deno.UnixConn)

Properties

ipc: boolean
reading: boolean

Methods

_onClose(): number

Handle server closure.

bind(name: string)

Bind to a Unix domain or Windows named pipe.

connect(req: PipeConnectWrap, address: string)

Connect to a Unix domain or Windows named pipe.

fchmod(mode: number)

Alters pipe permissions, allowing it to be accessed from processes run by different users. Makes the pipe writable or readable by all users. Mode can be UV_WRITABLE, UV_READABLE or UV_WRITABLE | UV_READABLE. This function is blocking.

listen(backlog: number): number

Listen for new connections.

open(_fd: number): number
ref()
setPendingInstances(instances: number)

Set the number of pending pipe instance handles when the pipe server is waiting for connections. This setting applies to Windows only.