Commit Graph

16 Commits

Author SHA1 Message Date
John Vandenberg 4a182d734e
Require docs for public members (#614) 2024-01-06 11:30:42 -08:00
Everett Pompeii 8b6b91d6ba
Include Response bytes when payload didn't deserialize as expected (#655) 2023-12-29 09:27:08 -08:00
Dillen Meijboom d329bc0912
Add support for wasm (#278) 2023-04-25 21:50:04 -07:00
Adam Leventhal 582e20c397
slashes are not properly %-encoded in path parameters (#304) 2023-01-13 10:58:18 -08:00
Artem Medvedev e34756583a
feat: support header parameters (#210) 2023-01-04 11:14:37 -08:00
Adam Leventhal dcee6a4eb2
clippy nits (#269) 2022-12-07 18:46:14 -08:00
liffy 4e2dcc5365
Generate a Client method for Dropshot websocket channels (#183)
Generated methods return `ResponseValue<reqwest::Upgrade`, which may be
passed to a websocket protocol implementation such as
`tokio_tungstenite::WebSocketStream::from_raw_stream(rv.into_inner(), ...)`
for the purpose of implementing against the raw websocket connection, but
may later be extended as a generic to allow higher-level channel message
definitions.

Per the changelog, consumers will need to depend on reqwest 0.11.12 or
newer for HTTP Upgrade support, as well as base64 and rand if any
endpoints are websocket channels:
```
[dependencies]
reqwest = { version = "0.11.12" features = ["json", "stream"] }
base64 = "0.13"
rand = "0.8"
```

Co-authored-by: lif <>
2022-09-28 13:40:07 -07:00
Joshua M. Clulow 8ad09386a7
code generation fixes after 03e2cfad3c (#124) 2022-07-15 13:59:09 -07:00
Adam Leventhal 5a72e1b8e7
add ByteStream::new (#128)
also gussy up progenitor-client docs
2022-07-15 10:42:06 -07:00
Joshua M. Clulow 6ca5670819
ResponseValue could expose Content-Length (#123) 2022-07-14 22:34:50 -07:00
Joshua M. Clulow 144ef6b9f3
allow ResponseValue<ByteStream> to transfer ownership of interior Stream (#125) 2022-07-14 22:33:17 -07:00
Adam Leventhal 236efadeee
improve panic/unwrap message for user-typed errors (#110) 2022-07-08 11:24:37 -07:00
Adam Leventhal 03e2cfad3c
add support for application/x-www-form-urlencoded bodies (#109)
* add support for application/x-www-form-urlencoded bodies

* self review

* alphabetizing

* remove commented code

* update changelog
2022-07-07 18:35:36 -07:00
Adam Leventhal 9b28ac87c6
add an optional builder pattern as well as extension traits for tags when using the builder interface (#86) 2022-07-02 19:09:38 -07:00
Adam Leventhal eec8526ba5
cleanup and documentation (#67) 2022-05-21 18:00:05 -07:00
Adam Leventhal 30d64120af
remove cross-package file dependency by adding progenitor_client::code() (#52) 2022-05-13 10:26:22 -07:00