Is there an existing feature request for this?
Is your feature request related to a problem? Please describe.
I have a websocket client that sometimes receives error HTTP responses (non-101) from servers. I want the client to be able to read a lot of the response body.
Currently, it can only read 1024 bytes of the response body, due to
|
buf := make([]byte, 1024) |
Describe the solution that you would like.
I would like an option to set that buffer to be larger than 1024 bytes.
Describe alternatives you have considered.
No response
Anything else?
No response