Expand description
HTTPS requests to the LCU REST API.
The LCU uses a Riot self-signed TLS certificate. build_lcu_client
returns a reqwest::Client configured to accept it, with a 10-second
request timeout. Reuse this client — it maintains an internal
connection pool.
Constants§
- DEFAULT_
TIMEOUT - Default per-request timeout applied by
build_lcu_client.
Functions§
- build_
lcu_ client - Build a reusable HTTP client configured for the LCU API.
- lcu_
delete DELETEan LCU endpoint.- lcu_get
GETan LCU endpoint and deserialize intoT.- lcu_
post POSTto an LCU endpoint with a JSON-serializable body.- lcu_
request - Send an HTTP request with no body to the LCU and deserialize the
JSON response as
T. - lcu_
request_ with_ body - Send an HTTP request with a JSON-serializable body.
- parse_
marketing_ version - Convert an internal LCU version string to the player-facing patch number.