mirror of
https://github.com/floor-licker/polyfill-rs.git
synced 2026-08-14 21:18:07 +00:00
feat:implement rfq endpoints
This commit is contained in:
@@ -100,14 +100,14 @@ mod tests {
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_connection_manager_creation() {
|
||||
let client = Client::new();
|
||||
let client = reqwest::ClientBuilder::new().no_proxy().build().unwrap();
|
||||
let manager = ConnectionManager::new(client, "https://clob.polymarket.com".to_string());
|
||||
assert!(!manager.is_running());
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
async fn test_keepalive_start_stop() {
|
||||
let client = Client::new();
|
||||
let client = reqwest::ClientBuilder::new().no_proxy().build().unwrap();
|
||||
let manager = ConnectionManager::new(client, "https://clob.polymarket.com".to_string());
|
||||
|
||||
manager.start_keepalive(Duration::from_secs(30)).await;
|
||||
|
||||
Reference in New Issue
Block a user