Struct civet::CivetRequest [] [src]

pub struct CivetRequest<'a> { /* fields omitted */ }

Trait Implementations

impl<'a> Request for CivetRequest<'a>
[src]

[src]

The version of HTTP being used

[src]

The version of the conduit spec being used

[src]

The request method, such as GET, POST, PUT, DELETE or PATCH

[src]

The scheme part of the request URL

[src]

The host part of the requested URL

[src]

The initial part of the request URL's path that corresponds to a virtual root. This allows an application to have a virtual location that consumes part of the path. Read more

[src]

The remainder of the path.

[src]

The portion of the request URL that follows the "?"

[src]

The remote IP address of the client or the last proxy that sent the request. Read more

[src]

The byte-size of the body, if any

[src]

The request's headers, as conduit::Headers.

[src]

A Reader for the body of the request

[src]

A readable map of extensions

[src]

A mutable map of extensions

impl<'a> Read for CivetRequest<'a>
[src]

[src]

Pull some bytes from this source into the specified buffer, returning how many bytes were read. Read more

[src]

🔬 This is a nightly-only experimental API. (read_initializer)

Determines if this Reader can work with buffers of uninitialized memory. Read more

1.0.0
[src]

Read all bytes until EOF in this source, placing them into buf. Read more

1.0.0
[src]

Read all bytes until EOF in this source, placing them into buf. Read more

1.6.0
[src]

Read the exact number of bytes required to fill buf. Read more

1.0.0
[src]

Creates a "by reference" adaptor for this instance of Read. Read more

1.0.0
[src]

Transforms this Read instance to an [Iterator] over its bytes. Read more

[src]

🔬 This is a nightly-only experimental API. (io)

the semantics of a partial read/write of where errors happen is currently unclear and may change

Transforms this Read instance to an [Iterator] over [char]s. Read more

1.0.0
[src]

Creates an adaptor which will chain this stream with another. Read more

1.0.0
[src]

Creates an adaptor which will read at most limit bytes from it. Read more