Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface Handshake
import { type Handshake } from "https://deno.land/x/socket_io@0.2.0/packages/socket.io/lib/socket.ts";

The handshake details

Properties

headers: Headers

The headers sent as part of the handshake

time: string

The date of creation (as string)

address: string

The ip of the client

xdomain: boolean

Whether the connection is cross-domain

secure: boolean

Whether the connection is secure

issued: number

The date of creation (as unix timestamp)

url: string

The request URL string

The query object

auth: Record<string, unknown>

The auth object