Expand description
HTTP request types for the Onshape API.
These types represent API requests as pure data — no I/O is performed here.
The I/O layer (onshape-client-io) interprets these to make actual HTTP calls.
Structs§
- ApiRequest
- An HTTP request to the Onshape API, produced as an effect by
build_request. - ApiResponse
- A raw HTTP response from the Onshape API.
- Binary
Field - A single binary field in a multipart form.
- Multipart
Body - A multipart form body with text and binary parts.
- Unknown
Http Method - Error returned when parsing an unrecognized HTTP method string.
Enums§
- Http
Method - HTTP method for an API request.
- Request
Body - The body of an API request.