Struct finchers::Context [] [src]

pub struct Context<'b, 'r: 'b> { /* fields omitted */ }

A set of values, contains the incoming HTTP request and the finchers-specific context.

Methods

impl<'r, 'b> Context<'r, 'b>
[src]

[src]

Return the reference of Request

[src]

Take and return the instance of request body, if available.

[src]

Pop and return the front element of path segments.

[src]

Collect and return the remaining path segments, if available

[src]

Return the first value of the query parameter whose name is name, if exists

[src]

Returns all query parameters with name name

Trait Implementations

impl<'b, 'r: 'b> Debug for Context<'b, 'r>
[src]

[src]

Formats the value using the given formatter.

impl<'b, 'r: 'b> Clone for Context<'b, 'r>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'r, 'b> From<&'b RequestInfo<'r>> for Context<'r, 'b>
[src]

[src]

Performs the conversion.