Various standardized error and notification types used by multiple protocols of the Network Services Kit. More...
Classes | |
class | BPrivate::Network::BInvalidUrl |
Error that indicates that the URL is not valid. More... | |
class | BPrivate::Network::BNetworkRequestError |
Error that indicates there was an issue executing the network request. More... | |
class | BPrivate::Network::BUnsupportedProtocol |
Error that indicates that the protocol is not supported. More... | |
Namespaces | |
namespace | BPrivate |
Internal or experimental API. | |
namespace | BPrivate::Network |
Experimental Network Services API. | |
namespace | BPrivate::Network::UrlEvent |
Contains the message constants that are sent by the various protocols. | |
namespace | BPrivate::Network::UrlEventData |
Contains the names of the data in the messages that are sent by the various protocols. | |
Enumerations | |
enum | { BPrivate::Network::UrlEvent::HostNameResolved = '_NHR' , BPrivate::Network::UrlEvent::ConnectionOpened = '_NCO' , BPrivate::Network::UrlEvent::UploadProgress = '_NUP' , BPrivate::Network::UrlEvent::ResponseStarted = '_NRS' , BPrivate::Network::UrlEvent::DownloadProgress = '_NDP' , BPrivate::Network::UrlEvent::BytesWritten = '_NBW' , BPrivate::Network::UrlEvent::RequestCompleted = '_NRC' , BPrivate::Network::UrlEvent::DebugMessage = '_NDB' } |
enum | { BPrivate::Network::UrlEventData::DebugInfo = '_DBI' , BPrivate::Network::UrlEventData::DebugWarning = '_DBW' , BPrivate::Network::UrlEventData::DebugError = '_DBE' } |
Functions | |
BString | BPrivate::Network::encode_to_base64 (const BString &string) |
Utility function that encodes a string to base64 and returns the result. | |
Variables | |
const char * | BPrivate::Network::UrlEventData::DebugMessage |
A BString that contains the debug message. | |
const char * | BPrivate::Network::UrlEventData::DebugType |
An uint32 representing a debug type constant. | |
const char * | BPrivate::Network::UrlEventData::HostName |
A BString that represents the hostname that was resolved. | |
const char * | BPrivate::Network::UrlEventData::Id |
An int32 that identifies the request the message pertains to. | |
const char * | BPrivate::Network::UrlEventData::NumBytes |
An int64/off_t represening the number of bytes transferred to now. | |
const char * | BPrivate::Network::UrlEventData::Success |
A bool that indicates whether an activity was succesful. | |
const char * | BPrivate::Network::UrlEventData::TotalBytes |
An int64/off_t representing the total number of bytes that will be sent/received. | |
Various standardized error and notification types used by multiple protocols of the Network Services Kit.