createMessage( a: unknown,): Result< Readonly< { authority: string | null; body: Body; fields: readonly Readonly< { name: string; provenance: "caller" | "http1" | "http2" | "http3"; section: "headers" | "trailers"; value: Uint8Array; }, >[]; kind: "request" | "response"; method: string | null; rawTarget: string | null; relatedRequest: | (
Readonly<{ kind: "request" | "response"; method: string | null; rawTarget: string | null; targetForm: "origin" | "absolute" | "authority" | "asterisk" | null; scheme: string | null; authority: string | null; ... 5 more ...; transport: Readonly<...>; }>
)
| null; scheme: string | null; status: number | null; targetForm: "origin" | "absolute" | "authority" | "asterisk" | null; trailers: | "unavailable" | readonly Readonly< { name: string; provenance: "caller" | "http1" | "http2" | "http3"; section: "headers" | "trailers"; value: Uint8Array; }, >[] | "pending"; transport: TransportFacts; }, >,>
Validate and brand a lossless HTTP message snapshot.