Module kittycad_modeling_cmds::websocket

source ·
Expand description

Types for the WebSocket API. Types for the websocket server.

Structs§

Enums§

  • Websocket responses can either be successful or unsuccessful. Slightly different schemas in either case.
  • The type of error sent by the KittyCAD API.
  • The websocket messages this server sends.
  • ICECandidateType represents the type of the ICE candidate used.
  • ICEProtocol indicates the transport protocol type that is used in the ice.URL structure.
  • SDPType describes the type of an SessionDescription.
  • Serde serializes Result into JSON as “Ok” and “Err”, but we want “ok” and “err”. So, create a new enum that serializes as lowercase.
  • The websocket messages the server receives.
  • Websocket responses can either be successful or unsuccessful. Slightly different schemas in either case.