Molybden API
|
A class that contains all network events. More...
#include <network_events.hpp>
Public Attributes | |
Event< NetworkChanged > | onNetworkChanged |
Invoked when the current network connection has changed. | |
Event< PacScriptErrorReceived > | onPacScriptErrorReceived |
Invoked when the PAC file processing has been failed. | |
Event< RedirectResponseCodeReceived > | onRedirectResponseCodeReceived |
Invoked when a redirect response code (3xx) has been received for the URL request. | |
Event< RequestCompleted > | onRequestCompleted |
Invoked when the URL request has been completed. | |
Event< RequestDestroyed > | onRequestDestroyed |
Invoked when the URL request has been destroyed. | |
Event< ResponseBytesReceived > | onResponseBytesReceived |
Invoked when a part of HTTP response body has been received over the network. | |
Event< ResponseStarted > | onResponseStarted |
Invoked when the first byte of the URL response body has been received. | |
A class that contains all network events.
Event<NetworkChanged> molybden::NetworkEvents::onNetworkChanged |
Invoked when the current network connection has changed.
The method is invoked whenever a change affects the route network packets take to any network server.
For example, when:
Use the following approach to subscribe to receiving the event:
Event<PacScriptErrorReceived> molybden::NetworkEvents::onPacScriptErrorReceived |
Invoked when the PAC file processing has been failed.
Use the following approach to subscribe to receiving the event:
Event<RedirectResponseCodeReceived> molybden::NetworkEvents::onRedirectResponseCodeReceived |
Invoked when a redirect response code (3xx) has been received for the URL request.
Use the following approach to subscribe to receiving the event:
Event<RequestCompleted> molybden::NetworkEvents::onRequestCompleted |
Invoked when the URL request has been completed.
Use the following approach to subscribe to receiving the event:
Event<RequestDestroyed> molybden::NetworkEvents::onRequestDestroyed |
Invoked when the URL request has been destroyed.
Use the following approach to subscribe to receiving the event:
Event<ResponseBytesReceived> molybden::NetworkEvents::onResponseBytesReceived |
Invoked when a part of HTTP response body has been received over the network.
Use the following approach to subscribe to receiving the event:
Event<ResponseStarted> molybden::NetworkEvents::onResponseStarted |
Invoked when the first byte of the URL response body has been received.
For HTTP requests, this means that the status line and the response headers are available.
Use the following approach to subscribe to receiving the event: