@request-seal/core API
    Preparing search index...

    Function isMessage

    • Check the private brand of an HTTP message.

      Parameters

      • value: unknown

      Returns value is 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;
          },
      >