[pbs-devel] [PATCH proxmox 0/9] preparation for websocket api

Dominik Csapak d.csapak at proxmox.com
Tue Jul 14 13:09:48 CEST 2020


this series adds the necessary bits and pieces for using a
websocket connection in the api

Dominik Csapak (9):
  proxmox/tools/byte_buffer: improve ByteBuffer interface
  proxmox/tools/byte_buffer: impl Default
  proxmox/tools/websocket: use ready macro for WebSocketWriter
  proxmox/tools/websocket: correctly return eof
  proxmox/tools/websocket: use io::Error and Result explicitely
  proxmox/tools/websocket: improve mask_bytes and create_frame interface
  proxmox/tools/websocket: implement send_control_frame for writer
  proxmox/tools/websocket: replace CallBack with a channel
  proxmox/tools/websocket: add WebSocket implementation

 proxmox/Cargo.toml               |   3 +-
 proxmox/src/tools/byte_buffer.rs |  97 ++++++----
 proxmox/src/tools/websocket.rs   | 296 +++++++++++++++++++++++++------
 3 files changed, 306 insertions(+), 90 deletions(-)

-- 
2.20.1






More information about the pbs-devel mailing list