[][src]Crate http_guest

API for guest applications in the isolation-demo environment.

Re-exports

pub use crate::kvstore::KVStore;
pub use crate::time::Time;

Modules

header

HTTP header types

hostcalls

Bindings to the hostcalls exposed for the demo.

kvstore
rand
time

Macros

guest_app

Macro to set up the scaffolding

guest_app_kvs

Variation on guest_app for applications that use the cross-request key-value store.

Structs

DNS
Error

A generic "error" for HTTP connections

HeaderMap

A set of HTTP headers

Method

The Request Method (VERB)

PendingRequest
Request

Represents an HTTP request.

Response

Represents an HTTP response

StatusCode

An HTTP status code (status-code in RFC 7230 et al.).

Uri

The URI component of a request.

Enums

PollResult
SendError

Traits

RequestExt

Functions

init_mm_default
raw_entrypoint_kvs
select

Select from a list of pending requests, blocking until one completes.