Crates.io | onlivfe_net |
lib.rs | onlivfe_net |
version | 0.0.0-alpha.0 |
source | src |
created_at | 2023-03-04 01:58:20.223215 |
updated_at | 2023-03-04 01:58:20.223215 |
description | Network connection handling of onlivfe |
homepage | https://onlivfe.com |
repository | https://github.com/onlivfe/core |
max_upload_size | |
id | 800266 |
size | 11,382 |
onlivfe_net
The network interaction parts of onlivfe.
serde
by default fails at deserializing the whole response if even a single part is unexpected.
Which is why we should generally allow data to just be missing, and use serde_with
's VecSkipError
and DefaultOnError
.
Beyond that, we should try to respect the platforms that we interact with, and generally follow rate limits and/or wishes of said platforms developers, up to a reasonable extent. However, as our application is meant for interoperability, which some platforms may not like, thus we must not bow down to any singular platform too much either.