Struct tsukuyomi::local::LocalRequest[][src]

pub struct LocalRequest<'a: 'b, 'b> { /* fields omitted */ }

A type which emulates an HTTP request from a peer.

Methods

impl<'a, 'b> LocalRequest<'a, 'b>
[src]

Modifies the value of HTTP method of this request.

Modifies the value of URI of this request.

Inserts a header value into this request.

Sets a message body of this request.

Creates an HTTP request from the current configuration and retrieve its response.

Trait Implementations

impl<'a: 'b, 'b> Debug for LocalRequest<'a, 'b>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, 'b> !Send for LocalRequest<'a, 'b>

impl<'a, 'b> !Sync for LocalRequest<'a, 'b>