pub fn create_event_source_response_handler<T>() -> ResponseHandler<BoxStream<'static, Result<T, AiMuxError>>>where
T: DeserializeOwned + Send + 'static,Expand description
Parse an SSE response and deserialize each data: field as T.
pub fn create_event_source_response_handler<T>() -> ResponseHandler<BoxStream<'static, Result<T, AiMuxError>>>where
T: DeserializeOwned + Send + 'static,Parse an SSE response and deserialize each data: field as T.