Method
post
(
&self,
_url: &str,
_headers: Vec<(&str, &str)>,
_body: &serde_json::Value,
_cancel: tokio_util::sync::CancellationToken,
)
Source from the content-addressed store, hash-verified
| 1242 | #[async_trait::async_trait] |
| 1243 | impl crate::llm::http::HttpClient for MockSseHttp { |
| 1244 | async fn post( |
| 1245 | &self, |
| 1246 | _url: &str, |
| 1247 | _headers: Vec<(&str, &str)>, |
| 1248 | _body: &serde_json::Value, |
| 1249 | _cancel: tokio_util::sync::CancellationToken, |
| 1250 | ) -> anyhow::Result<crate::llm::http::HttpResponse> { |
| 1251 | anyhow::bail!("post is unused in the streaming test") |
| 1252 | } |
| 1253 | |
| 1254 | async fn post_streaming( |
| 1255 | &self, |
Tested by
no test coverage detected