text

Macro text 

Source
macro_rules! text {
    ($stream:expr; $body:expr) => { ... };
    ($stream:expr; $body:expr; $status:expr) => { ... };
}
Expand description

A macro to return text content to a TCPStream. Example usage:

text!(stream; "https://cdn.mysite.com/custom_generated_link_here");