Crate ic_http_types

Source
Expand description

This crate provides types for representing HTTP requests and responses. These types are designed to simplify working with HTTP communication in canister development on the Internet Computer.

It includes:

  • HttpRequest: A struct for encapsulating HTTP requests.
  • HttpResponse: A struct for encapsulating HTTP responses.
  • HttpResponseBuilder: A builder for constructing HttpResponse objects.

Structsยง

HttpRequest
Represents an HTTP request.
HttpResponse
Represents an HTTP response.
HttpResponseBuilder
A builder for constructing HttpResponse objects.