sergees
sergees•5mo ago

WebSocket proxy Deno.createHttpClient

Is it possible to use proxy for web socket connections in Deno?
2 Replies
Deno AI Helper
Deno AI Helper•5mo ago
I wasn't able to find the answer to your question in the official Deno documentation regarding the use of a proxy for WebSocket connections specifically. However, based on your message, if you're looking to create an HTTP client in Deno that uses a proxy, you would typically use Deno.createHttpClient with the appropriate options. For WebSocket connections, the situation might be more complex, as WebSocket connections often require upgrading an HTTP connection and may not be directly supported through the HTTP client API. Please note that this advice is not based on the Deno documentation, and I would recommend double-checking the accuracy of this advice and exploring the Deno community resources or the issue tracker for more information on WebSocket proxy support.
Deno AI Helper
Deno AI Helper•5mo ago
🦕 Oops! Can you pinpoint where I went wrong to help me improve? 📈