Loading...
Searching...
No Matches
Enumerations
BPrivate::Network::UrlEvent Namespace Reference

Contains the message constants that are sent by the various protocols. More...

Enumerations

enum  {
  HttpStatus = '_HST' ,
  HttpFields = '_HHF' ,
  CertificateError = '_CER' ,
  HttpRedirect = '_HRE'
}
 
enum  {
  HostNameResolved = '_NHR' ,
  ConnectionOpened = '_NCO' ,
  UploadProgress = '_NUP' ,
  ResponseStarted = '_NRS' ,
  DownloadProgress = '_NDP' ,
  BytesWritten = '_NBW' ,
  RequestCompleted = '_NRC' ,
  DebugMessage = '_NDB'
}
 

Detailed Description

Contains the message constants that are sent by the various protocols.

Please see the kit documentation for details which messages are sent at which stage, and what data they contain.

Since
Haiku R1

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
HttpStatus 

The HTTP status code has been received, and can be accessed through the result object.

Since
Haiku R1
HttpFields 

The HTTP header block has been received, and the status and fields can be accessed through the result object.

Since
Haiku R1
CertificateError 

There was an error communicating with the server because of an SSL certificate issue.

Since
Haiku R1
HttpRedirect 

The Http request was redirected, and this redirect was handled by the kit.

Since
Haiku R1

◆ anonymous enum

anonymous enum
Enumerator
HostNameResolved 

The hostname for the request is resolved.

Since
Haiku R1
ConnectionOpened 

The connection for the request is opened and the request will be sent.

Since
Haiku R1
UploadProgress 

There is progress sending the body for the request.

Since
Haiku R1
ResponseStarted 

The request was sent, and the response is now incoming.

Since
Haiku R1
DownloadProgress 

There is progress receiving the body of the request.

Since
Haiku R1
BytesWritten 

There are bytes written to the target of the body.

Since
Haiku R1
RequestCompleted 

The request was completed.

Since
Haiku R1
DebugMessage 

There is a debug message for a request or for a protocol.

Since
Haiku R1