Crate tus

Source
Expand description

Rust implementation of the TUS protocol

https://tus.io/protocols/resumable-upload.html

Structs§

Client
A client for a TUS endpoint. This leaks a lot of the implementation details of reqwest.
HeaderMap
A set of HTTP headers
HeaderName
Represents an HTTP header field name
HeaderValue
Represents an HTTP header field value.

Constants§

TUS_VERSION
Version of the TUS protocol we’re configured to use.

Functions§

default_headers
Returns the minimum set of headers required to make a TUS request. This should be used as the basis for constructing your headers.