Home
last modified time | relevance | path

Searched refs:on_data (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Lib/test/test_asyncio/
Dtest_sslproto.py240 def __init__(self, on_data, on_eof): argument
241 self.on_data = on_data
251 self.on_data.set_result(data)
259 on_data = self.loop.create_future()
263 lambda: ClientProto(on_data, on_eof), *addr)
268 self.assertEqual(await on_data, b'O')
303 def __init__(self, on_data, on_eof): argument
304 self.on_data = on_data
316 self.on_data.set_result(data)
324 on_data = self.loop.create_future()
[all …]
/third_party/nghttp2/src/
Dasio_client_response.cc41 void response::on_data(data_cb cb) const { impl_->on_data(std::move(cb)); } in on_data() function in nghttp2::asio_http2::client::response
Dasio_server_request.cc47 void request::on_data(data_cb cb) const { in on_data() function in nghttp2::asio_http2::server::request
48 return impl_->on_data(std::move(cb)); in on_data()
Dasio_client_response_impl.h43 void on_data(data_cb cb);
Dasio_client_response_impl.cc36 void response_impl::on_data(data_cb cb) { data_cb_ = std::move(cb); } in on_data() function in nghttp2::asio_http2::client::response_impl
Dasio_server_request_impl.h53 void on_data(data_cb cb);
Dasio_server_request_impl.cc47 void request_impl::on_data(data_cb cb) { on_data_cb_ = std::move(cb); } in on_data() function in nghttp2::asio_http2::server::request_impl
/third_party/nghttp2/examples/
Dasio-cl2.cc98 res.on_data([](const uint8_t *data, std::size_t len) { in main()
116 res.on_data([](const uint8_t *data, std::size_t len) { in main()
Dasio-cl.cc77 res.on_data([](const uint8_t *data, std::size_t len) { in main()
/third_party/nghttp2/python/
Dwsgi.py49 def on_data(self, chunk): member in WSGIContainer
Dnghttp2.pyx471 handler.on_data(data[:length])
1067 If request has request body, on_data(data) is invoked for each
1075 can be used in on_headers(), on_data() or on_request_done().
1147 def on_data(self, data): member in BaseRequestHandler
1400 If response has a body, on_data(data) is invoked for each
1472 def on_data(self, data): member in BaseResponseHandler
/third_party/nghttp2/src/includes/nghttp2/
Dasio_http2_server.h57 void on_data(data_cb cb) const;
Dasio_http2_client.h46 void on_data(data_cb cb) const;
/third_party/nghttp2/doc/sources/
Dlibnghttp2_asio.rst257 res.on_data([](const uint8_t *data, std::size_t len) {
327 res.on_data([&sess](const uint8_t *data, std::size_t len) {
337 res.on_data([](const uint8_t *data, std::size_t len) {
396 res.on_data([](const uint8_t *data, std::size_t len) {
Dpython-apiref.rst180 If request has request body, :py:meth:`on_data()` is invoked for
190 :py:meth:`on_data()` or :py:meth:`on_request_done()`.
236 .. py:method:: on_data(data)
/third_party/nghttp2/
DREADME.rst1391 res.on_data([](const uint8_t *data, std::size_t len) {
1456 If the request has a request body, ``on_data(data)`` is invoked for each
1464 It can be used in ``on_headers()``, ``on_data()`` or