fix: allow larger messages
This commit is contained in:
parent
01ee2e3535
commit
a373ed8897
|
@ -16,7 +16,7 @@ public static class Ext {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static async Task<ResponseContainer> ReceiveMessage(this ClientWebSocket client) {
|
public static async Task<ResponseContainer> ReceiveMessage(this ClientWebSocket client) {
|
||||||
var bytes = new ArraySegment<byte>(new byte[2048]);
|
var bytes = new ArraySegment<byte>(new byte[64 * 1024]);
|
||||||
|
|
||||||
WebSocketReceiveResult result;
|
WebSocketReceiveResult result;
|
||||||
var i = 0;
|
var i = 0;
|
||||||
|
|
Loading…
Reference in New Issue