Class NetThread

Nested Relationships

Nested Types

Class Documentation

class NetThread

Public Functions

void Start()
void Stop()
RequestCancellationToken EnqueueDownload(ResourceRequest request, std::optional<size_t> max_response_size_bytes, OnceCallback<void(ResourceResponse)> on_done_callback)
void CancelRequest(RequestCancellationToken cancellation_token)

Public Static Functions

static NetThread &GetInstance()
class NetThreadImpl

Public Functions

NetThreadImpl()
~NetThreadImpl()
void Start()
void Stop()
void EnqueueDownload(ResourceRequest request, std::optional<size_t> max_response_size_bytes, RequestCancellationToken cancellation_token, OnceCallback<void(ResourceResponse)> on_done_callback)
void CancelRequest(RequestCancellationToken cancellation_token)