-
hi, this is a very good crate, discovered today. I have some server which returns sse. I want some easy way to get data: {"agents":[{"agent_id":"1fb7b9e0-5340-4984-b1b9-286ae7e8596e","last_update":{"secs_since_epoch":1751659131,"nanos_since_epoch":838834973},"quarantined_until":null,"slots_taken":0,"slots_taken_since_last_status_update":0,"status":{"agent_name":"agent-1","error":null,"external_llamacpp_addr":"127.0.0.1:8050","is_authorized":true,"is_connect_error":false,"is_decode_error":false,"is_deserialize_error":false,"is_request_error":false,"is_slots_endpoint_enabled":true,"is_unexpected_response_status":false,"slots_idle":2,"slots_processing":0}},{"agent_id":"047e2b93-45d6-4982-b599-520e7f406e28","last_update":{"secs_since_epoch":1751659131,"nanos_since_epoch":838928810},"quarantined_until":null,"slots_taken":0,"slots_taken_since_last_status_update":0,"status":{"agent_name":"agent-2","error":null,"external_llamacpp_addr":"127.0.0.1:8051","is_authorized":true,"is_connect_error":false,"is_decode_error":false,"is_deserialize_error":false,"is_request_error":false,"is_slots_endpoint_enabled":true,"is_unexpected_response_status":false,"slots_idle":2,"slots_processing":0}}]} |
Beta Was this translation helpful? Give feedback.
Answered by
robjtede
Jul 4, 2025
Replies: 1 comment 1 reply
-
If this is on the client side, I have a crate called Example usage: https://github.com/robjtede/actix-web-lab/blob/main/russe/examples/decoder.rs |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Propfend
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If this is on the client side, I have a crate called
russe
which can be used for decoding SSE streams.Example usage: https://github.com/robjtede/actix-web-lab/blob/main/russe/examples/decoder.rs