Webigail
    Preparing search index...

    Class ZHttpRequestBuilder<TBody>

    Represents a builder for an http request.

    Type Parameters

    • TBody = any
    Index

    Constructors

    Properties

    json: (...args: []) => ZHttpRequestBuilder = ...

    Sets the content type to json.

    Type Declaration

    Methods

    • Sets an individual header.

      Parameters

      • key: string

        The header key to set.

      • value: string | number | boolean | null

        The value to set.

      Returns this

      This object.

    post