write_close

Function write_close 

Source
pub fn write_close(buf: &mut Vec<u8>, close_type: u8, name: &str)
Expand description

Write a Close message to release a statement or portal.

  • close_type: ā€˜S’ for statement, ā€˜P’ for portal
  • name: Statement or portal name