class FakeHTTPLoader

Defined at line 18 of file ../../src/cobalt/bin/testing/fake_http_loader.h

Public Methods

void FakeHTTPLoader (async_dispatcher_t * dispatcher)

Defined at line 20 of file ../../src/cobalt/bin/testing/fake_http_loader.h

fidl::InterfaceRequestHandler<fuchsia::net::http::Loader> GetHandler ()

Defined at line 23 of file ../../src/cobalt/bin/testing/fake_http_loader.h

void SetResponse (fuchsia::net::http::Response response)

Defined at line 27 of file ../../src/cobalt/bin/testing/fake_http_loader.h

void SetResponseDelay (zx::duration response_delay)

Defined at line 32 of file ../../src/cobalt/bin/testing/fake_http_loader.h

void Fetch (fuchsia::net::http::Request request, fuchsia::net::http::Loader::FetchCallback callback)

Defined at line 34 of file ../../src/cobalt/bin/testing/fake_http_loader.h

void Start (fuchsia::net::http::Request request, fidl::InterfaceHandle<class fuchsia::net::http::LoaderClient> client)

Defined at line 56 of file ../../src/cobalt/bin/testing/fake_http_loader.h

void Unbind ()

Defined at line 59 of file ../../src/cobalt/bin/testing/fake_http_loader.h