Skip to main content

Module request

Module request 

Source
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.
BinaryField
A single binary field in a multipart form.
MultipartBody
A multipart form body with text and binary parts.
UnknownHttpMethod
Error returned when parsing an unrecognized HTTP method string.

Enums§

HttpMethod
HTTP method for an API request.
RequestBody
The body of an API request.