AxialAxial
  • Docs
  • Packages
  • GitHub
  • Axial.HttpClient
    • Axial
    • Axial.Process
    • Axial.HttpClient
    • Packages
  • 0.11.3
    • 0.11.3
    • 0.11.2
    • 0.11.1
    • 0.11.0
    • 0.10.0
    • 0.9.3
    • 0.9.2
    • 0.9.1
    • 0.9.0
    • 0.8.0
    • 0.7.1
    • 0.7.0
  • light
  • dark
Axial.HttpClient

API Reference

Axial.HttpClient

DSL

No description available.

SecretValue

Marks an interpolated URL value for redaction in plans and transcripts.

Http

No description available.

HttpError

HttpError is the single typed error of Axial.HttpClient.

Method

Identifies one HTTP request method.

Request

No description available.

Response

No description available.

HttpRequest

An immutable, fully described HTTP request.

HttpResponse

The complete response transcript for one HTTP exchange.

IHasHttp

Declares that an environment supplies the HTTP service.

IHttp

Sends fully described HTTP requests for a concrete host platform.

RequestBody

Supplies the request payload and its media type.

RequestPlan

A redacted, serializable description of a request that would be sent.

StatusExpectation

Decides which response status codes count as success for a request.

TestHttp

A scriptable HTTP service test double that records requests and replies through a handler.

On This Page

    Axial.HttpClient

    Overview

    • Home
    • API Reference

    Docs

    • Requests
    • Responses And Errors
    • Reliability
    • Testing HTTP

    API Reference

    • Axial.HttpClient
      • DSL
        • Operations
          • secret
          • GET
          • HEAD
          • POST
          • PUT
          • PATCH
          • DELETE
          • query
          • secretQuery
          • header
          • bearer
          • basicAuth
          • timeout
          • jsonBody
          • jsonBodyOf
          • textBody
          • formBody
          • expect
          • expectAny
          • fetch
          • fetchText
          • fetchBytes
          • fetchJson
          • withRetries
        • SecretValue
      • Http
        • Operations
          • get
          • head
          • post
          • put
          • patch
          • delete
          • service
          • sendResult
          • send
          • text
          • bytes
          • json
          • getString
          • getBytes
          • getJson
          • postString
          • postJson
          • retryTransient
          • live
          • test
      • HttpError
        • Operations
          • describe
          • tryResponse
          • isTransient
          • transientRetry
      • Method
        • Operations
          • name
      • Request
        • Operations
          • create
          • method
          • url
          • queryParameters
          • headerValues
          • body
          • tryTimeout
          • tryMaxResponseBytes
          • expectation
          • query
          • secretQuery
          • header
          • secretHeader
          • bearer
          • basicAuth
          • accept
          • acceptJson
          • userAgent
          • timeout
          • maxResponseBytes
          • textBody
          • jsonBody
          • jsonBodyWith
          • bytesBody
          • formBody
          • expect
          • expectAny
          • render
          • plan
      • Response
        • Operations
          • text
          • bytes
          • statusCode
          • tryHeader
          • json
          • create
      • HttpError
        • Union cases
          • IsStatus
          • IsInvalidRequest
          • IsTimedOut
          • IsDecodeFailed
          • IsConnectionFailed
          • IsResponseTooLarge
          • InvalidRequest
          • ConnectionFailed
          • TimedOut
          • Status
          • DecodeFailed
          • ResponseTooLarge
      • HttpRequest
        • Representation
          • Method
          • Url
          • DisplayUrl
          • Query
          • Headers
          • Body
          • Timeout
          • MaxResponseBytes
          • Expectation
      • HttpResponse
        • Representation
          • StatusCode
          • ReasonPhrase
          • Headers
          • Body
          • Text
          • Request
          • StartedAt
          • Duration
      • IHasHttp
        • Operations
          • Http
      • IHttp
        • Operations
          • Send
      • Method
        • Union cases
          • IsPost
          • IsPatch
          • IsCustom
          • IsPut
          • IsGet
          • IsDelete
          • IsOptions
          • IsHead
          • Get
          • Head
          • Post
          • Put
          • Patch
          • Delete
          • Options
          • Custom
      • RequestBody
        • Union cases
          • IsText
          • IsForm
          • IsEmpty
          • IsBytes
          • Empty
          • Text
          • Bytes
          • Form
      • RequestPlan
        • Representation
          • Method
          • Url
          • Headers
          • Body
          • Timeout
          • MaxResponseBytes
          • Expectation
      • StatusExpectation
        • Union cases
          • IsSuccess
          • IsAny
          • IsStatuses
          • Success
          • Statuses
          • Any
      • TestHttp
        • Operations
          • ``.ctor``
          • Clear
          • Handler
          • Sent