Struct httimple::app::message::Message [] [src]

pub struct Message {
    pub status: u32,
    pub data: Vec<u8>,
}

A response to be sent.

Fields

Methods

impl Message
[src]

[src]

Send the response.

[src]

Generates a message from the data supplied

[src]

Generates a 404 - PAGE NOT FOUND request.

Trait Implementations

impl Debug for Message
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Message

impl Sync for Message