alpacahq / alpacahq/alpaca-trade-api-csharp
[QUESTION]: msgpack in websockets
- Lenguaje dominante
- C#
- Estrellas
- 301
- Forks
- 96
- Merge medio
- 4 d 5 h
- PR fusionados (30 d)
- 5
Descripción
### Is there an existing issue for this?
- [x] I have searched the existing issues
### What is your question?
Hi, according to this message:
https://github.com/alpacahq/alpaca-trade-api-csharp/blob/ad8225f3a8e64ce7de43004d6b62b4a2f499acd5/Alpaca.Markets/Parameters/StreamingClientConfiguration.cs#L36
the current WS implementation you're using (which if I'm not wrong it's default .NET ClientWebSocket) doesn't allow to set the Content-Type. I'm trying to use msgpack myself in a websocket accessing alpaca (not through this library though), but it's been impossible.
As writing a full WS implementation for just one parameter is overkill, and asking for a ClientWebSocket fix may literally take years, have you considered requesting an alternative way to switch msgpack on?
Thanks.
### Anything else?
_No response_
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.