Struct ipp::request::IppRequest
[−]
[src]
pub struct IppRequest<'a> { /* fields omitted */ }
IPP request struct
Methods
impl<'a> IppRequest<'a>
[src]
fn new(operation: u16, uri: &str) -> IppRequest<'a>
Create new IPP request for the operation and uri
fn set_payload(&mut self, payload: &'a mut Read)
Set payload
fn set_attribute(&mut self, group: u8, attribute: IppAttribute)
fn write(&'a mut self, writer: &mut Write) -> Result<usize>
Serialize request into the binary stream (TCP)