physical.Probedtypeno test imports ittype Probed = { readonly answer: Answer; readonly handshake: Handshake | undefined };What the probe saw.
The built-in check's one contact with a target: one TLS handshake and one HEAD request, with the answer's status, headers and cookies (names and flags; the values are dropped here, before anything leaves this function) and the handshake's protocol, cipher and certificate. The request carries no body, no credential and no cookie; the connection is closed after the answer's headers.
import { probeEndpoint } from "./probe.ts";
// await probeEndpoint("https://app.example.test/", 10_000) // { answer, handshake }physical.Probedtypeno test imports ittype Probed = { readonly answer: Answer; readonly handshake: Handshake | undefined };What the probe saw.
physical.probeEndpointfunctionno test imports itfunction probeEndpoint(url: string, timeoutMs: number): Promise<Probed>One HEAD request to url, over TLS where the address is https.
Probedtypeno test imports ittype Probed = { readonly answer: Answer; readonly handshake: Handshake | undefined };What the probe saw.
probeEndpointfunctionfunction probeEndpoint(url: string, timeoutMs: number): Promise<Probed>One HEAD request to url, over TLS where the address is https.