Home
last modified time | relevance | path

Searched refs:HttpClient (Results 1 – 25 of 29) sorted by relevance

12

/third_party/nghttp2/src/
Dnghttp.cc367 auto client = static_cast<HttpClient *>(ev_userdata(loop)); in continue_timeout_cb()
415 auto client = static_cast<HttpClient *>(htp->data); in htp_msg_completecb()
438 int submit_request(HttpClient *client, const Headers &headers, Request *req) { in submit_request()
542 auto client = static_cast<HttpClient *>(w->data); in readcb()
551 auto client = static_cast<HttpClient *>(w->data); in writecb()
553 if (rv == HttpClient::ERR_CONNECT_FAIL) { in writecb()
565 auto client = static_cast<HttpClient *>(w->data); in timeoutcb()
573 auto client = static_cast<HttpClient *>(w->data); in settings_timeout_cb()
582 HttpClient::HttpClient(const nghttp2_session_callbacks *callbacks, in HttpClient() function in nghttp2::HttpClient
617 HttpClient::~HttpClient() { in ~HttpClient()
[all …]
Dnghttp.h212 struct HttpClient { struct
213 HttpClient(const nghttp2_session_callbacks *callbacks, struct ev_loop *loop,
215 ~HttpClient();
275 std::function<int(HttpClient &)> readfn, writefn; argument
276 std::function<int(HttpClient &, const uint8_t *, size_t)> on_readfn; argument
277 std::function<int(HttpClient &)> on_writefn; argument
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Ddebug.dart16 /// Signature for a method that returns an [HttpClient].
19 typedef HttpClientProvider = HttpClient Function();
21 /// Provider from which [NetworkImage] will get its [HttpClient] in debug builds.
24 /// [HttpClient].
D_network_image_io.dart64 static final HttpClient _sharedHttpClient = HttpClient()..autoUncompress = false;
66 static HttpClient get _httpClient {
67 HttpClient client = _sharedHttpClient;
/third_party/flutter/flutter/dev/devicelab/lib/tasks/
Dsave_catalog_screenshots.dart49 Future<bool> save(HttpClient client, String name, List<int> content) async {
77 Future<bool> run(HttpClient client) async {
105 final HttpClient client = HttpClient();
/third_party/flutter/flutter/packages/flutter_tools/lib/src/base/
Dnet.dart15 typedef HttpClientFactory = HttpClient Function();
44 HttpClient httpClient;
48 httpClient = HttpClient();
Dio.dart47 HttpClient,
/third_party/flutter/engine/flutter/shell/testing/observatory/
Dtest.dart62 final HttpClient client = HttpClient();
90 final HttpClient client = HttpClient();
/third_party/flutter/flutter/dev/integration_tests/image_loading/lib/
Dmain.dart67 class ThrowingHttpClient extends Mock implements HttpClient {}
74 HttpClient createHttpClient(SecurityContext context) {
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/
Dtestbed_test.dart60 final HttpClient client = HttpClient();
/third_party/flutter/engine/flutter/testing/scenario_app/lib/
Dmain.dart71 final HttpClient client = HttpClient();
/third_party/flutter/flutter/packages/flutter_tools/test/general.shard/base/
Dnet_test.dart209 class MockHttpClientThrowing implements io.HttpClient {
221 throw 'io.HttpClient - $invocation';
225 class MockHttpClient implements io.HttpClient {
242 throw 'io.HttpClient - $invocation';
/third_party/flutter/engine/flutter/tools/
Dgen_locale.dart42 final HttpClient client = HttpClient();
/third_party/flutter/flutter/packages/flutter/lib/src/foundation/
Dconsolidate_response.dart42 /// hasn't already been done via [HttpClient.autoUncompress]. To get compressed
44 /// set both [HttpClient.autoUncompress] to false and the `autoUncompress`
/third_party/flutter/flutter/dev/manual_tests/test/
Dmock_image_http.dart29 class MockHttpClient extends Mock implements HttpClient {}
/third_party/flutter/flutter/packages/flutter/test/widgets/
Dimage_headers_test.dart47 class MockHttpClient extends Mock implements HttpClient {}
/third_party/flutter/flutter/packages/flutter_tools/lib/src/web/
Dchrome.dart159 final HttpClient client = HttpClient();
/third_party/flutter/flutter/packages/flutter/test/painting/
Dimage_provider_test.dart190 test('Uses the HttpClient provided by debugNetworkImageHttpClientProvider if set', () async {
296 class MockHttpClient extends Mock implements HttpClient {}
/third_party/flutter/flutter/packages/flutter_tools/test/src/
Dcontext.dart78 HttpClient: () => MockHttpClient(),
359 class MockHttpClient extends Mock implements HttpClient {}
Dtestbed.dart172 class FakeHttpClient implements HttpClient {
/third_party/flutter/flutter/packages/flutter/lib/src/services/
Dasset_bundle.dart107 _httpClient = HttpClient();
110 final HttpClient _httpClient;
/third_party/flutter/flutter/dev/tools/localization/
Dlocalizations_utils.dart299 final HttpClient client = HttpClient();
/third_party/flutter/flutter/packages/flutter_tools/lib/src/
Ddevfs.dart275 final HttpClient _client = HttpClient();
/third_party/skia/infra/bots/task_drivers/fm_driver/
Dfm_driver.go66 httpClient = func(ctx context.Context) *http.Client { return td.HttpClient(ctx, nil) }
/third_party/flutter/flutter/packages/flutter_test/lib/src/
Dbinding.dart1610 /// Provides a default [HttpClient] which always returns empty 400 responses.
1612 /// If another [HttpClient] is provided using [HttpOverrides.runZoned], that will
1616 HttpClient createHttpClient(SecurityContext _) {
1621 /// A mocked [HttpClient] which always returns a [_MockHttpRequest].
1622 class _MockHttpClient implements HttpClient {

12