Lines Matching defs:payload
257 // Generates a Buffer that contains the serialized payload of a SETTINGS
1158 // When nghttp2 receives a DATA frame, it will deliver the data payload to
1475 nghttp2_ext_altsvc* altsvc = static_cast<nghttp2_ext_altsvc*>(ext.payload);
1497 nghttp2_ext_origin* origin = static_cast<nghttp2_ext_origin*>(ext.payload);
2989 // A PING frame may have exactly 8 bytes of payload data. If not provided,
2990 // then the current hrtime will be used as the payload.
2991 ArrayBufferViewContents<uint8_t, 8> payload;
2993 payload.Read(args[0].As<ArrayBufferView>());
2994 CHECK_EQ(payload.length(), 8);
2999 session->AddPing(payload.data(), args[1].As<Function>()));
3020 bool Http2Session::AddPing(const uint8_t* payload, Local<Function> callback) {
3043 ping->Send(payload);
3101 void Http2Ping::Send(const uint8_t* payload) {
3104 if (payload == nullptr) {
3106 payload = data;
3112 payload), 0);
3115 void Http2Ping::Done(bool ack, const uint8_t* payload) {
3125 if (payload != nullptr) {
3127 reinterpret_cast<const char*>(payload),