Umi — API References - v1.3.0
    Preparing search index...

    Class HttpRequestBuilder<D>

    A builder for constructing HttpRequest instances.

    Type Parameters

    • D

    Implements

    Index

    Constructors

    Accessors

    • get data(): D

      Returns D

    • get maxRedirects(): undefined | number

      Returns undefined | number

    • get method(): HttpMethod

      Returns HttpMethod

    • get timeout(): undefined | number

      Returns undefined | number

    • get url(): string

      Returns string

    Methods

    post

    • Parameters

      • params: string | URLSearchParams | Record<string, string> | string[][]

      Returns HttpRequestBuilder<D>