Home
last modified time | relevance | path

Searched refs:payload (Results 1 – 11 of 11) sorted by relevance

/unit/test/
H A Dtest_proxy.py138 payload = '0123456789'
140 resp = self.post_http10(body=payload)
145 payload = 'X' * 4096
147 resp = self.post_http10(body=payload)
152 payload = 'X' * 4097
154 resp = self.post_http10(body=payload)
159 payload = 'X' * 4096 * 256
166 payload = 'X' * 4096 * 257
180 assert resp['body'] == payload, 'body'
183 payload = 'X' * 4096 * 257
[all …]
H A Dtest_java_websockets.py49 assert data == payload, 'payload'
349 payload = '*' * length
375 payload = b'\xfe' * length
439 payload = 'ping payload'
479 payload = 'Hello, world!'
577 payload = 'Hello, world!'
1058 payload = "Hello World!"
1269 payload = '*' * length
1343 payload = '*' * 65536
1363 payload = '*' * 94
[all …]
H A Dtest_node_websockets.py49 assert data == payload, 'payload'
368 payload = '*' * length
394 payload = b'\xfe' * length
458 payload = 'ping payload'
498 payload = 'Hello, world!'
596 payload = 'Hello, world!'
1077 payload = "Hello World!"
1288 payload = '*' * length
1362 payload = '*' * 65536
1382 payload = '*' * 94
[all …]
H A Dtest_asgi_websockets.py55 assert data == payload, 'payload'
422 payload = '*' * length
448 payload = b'\xfe' * length
512 payload = 'ping payload'
552 payload = 'Hello, world!'
650 payload = 'Hello, world!'
1131 payload = "Hello World!"
1342 payload = '*' * length
1416 payload = '*' * 65536
1436 payload = '*' * 94
[all …]
/unit/src/java/nginx/unit/websocket/
H A DMessagePart.java27 private final ByteBuffer payload; field in MessagePart
32 public MessagePart( boolean fin, int rsv, byte opCode, ByteBuffer payload, in MessagePart() argument
38 this.payload = payload; in MessagePart()
61 return payload; in getPayload()
H A DWsRemoteEndpointImplBase.java718 if (payload.limit() < 126) { in writeHeader()
719 headerBuffer.put((byte) (payload.limit() | b)); in writeHeader()
720 } else if (payload.limit() < 65536) { in writeHeader()
722 headerBuffer.put((byte) (payload.limit() >>> 8)); in writeHeader()
805 private final ByteBuffer payload; field in WsRemoteEndpointImplBase.OutputBufferSendHandler
820 this.payload = payload; in OutputBufferSendHandler()
840 int payloadLeft = payload.remaining(); in write()
841 int payloadLimit = payload.limit(); in write()
848 payload.limit(payload.position() + toWrite); in write()
853 outputBuffer.put(payload); in write()
[all …]
H A DLocalStrings.properties61 wsFrame.controlPayloadTooBig=A control frame was sent with a payload of size [{0}] which is larger …
71 wsFrame.oneByteCloseCode=The client sent a close frame with a single byte payload which is not valid
72 wsFrame.partialHeaderComplete=WebSocket frame received. fin [{0}], rsv [{1}], OpCode [{2}], payload
/unit/src/java/nginx/unit/websocket/pojo/
H A DPojoMessageHandlerWholeBase.java55 Object payload; in onMessage() local
57 payload = decode(message); in onMessage()
63 if (payload == null) { in onMessage()
66 payload = convert(message); in onMessage()
68 payload = message; in onMessage()
76 parameters[indexPayload] = payload; in onMessage()
H A DLocalStrings.properties31 pojoMethodMapping.noPayload=No payload parameter present on the method [{0}] of class [{1}] that wa…
/unit/src/java/nginx/unit/
H A DRequest.java1303 public void sendWsFrame(ByteBuffer payload, byte opCode, boolean last, in sendWsFrame() argument
1306 trace("sendWsFrame: " + opCode + ", [" + payload.position() + in sendWsFrame()
1307 ", " + payload.limit() + "]"); in sendWsFrame()
1309 if (payload.isDirect()) { in sendWsFrame()
1310 sendWsFrame(req_info_ptr, payload, payload.position(), in sendWsFrame()
1311 payload.limit() - payload.position(), opCode, last); in sendWsFrame()
1313 sendWsFrame(req_info_ptr, payload.array(), payload.position(), in sendWsFrame()
1314 payload.limit() - payload.position(), opCode, last); in sendWsFrame()
/unit/src/nodejs/unit-http/
H A Dunit.cpp1046 napi_value this_arg, frame, payload; in websocket_send_frame() local
1078 payload = napi.get_named_property(frame, "binaryPayload"); in websocket_send_frame()
1080 if (napi.is_buffer(payload)) { in websocket_send_frame()
1081 iov[iovec_len].iov_base = napi.get_buffer_info(payload, buf_len); in websocket_send_frame()