Skip to main content
Module

x/socket_fetch/dialers.ts

Remake of fetch() using Deno sockets, useful for niche usecases such as UNIX domain sockets
import * as socketFetch from "https://deno.land/x/socket_fetch@v0.1/dialers.ts";

Classes

Satisfies HTTP/HTTPS requests traditionally using the appropriate dialer. If you need to configure a specific dialer, use it directly instead.

Satisfies HTTP requests by creating a basic plaintext TCP connection.

Satisfies HTTPS requests by creating a TLS-encrypted TCP connection. CA and servername options can be set on the constructor.

Satisfies HTTP requests by creating a plaintext UNIX Stream socket.

Interfaces

API to help satisfy HTTP requests by providing network connections.