blackberry.com
BlackBerry Dynamics
Runtime library for iOS applications
from the application developer portal
Classes | Defines | Enumerations

GDNETiOS.h File Reference

#import <Foundation/Foundation.h>
#import "GDURLLoadingSystem.h"
#import "GDPortability.h"
#import "GDNET.h"

Classes

Defines

Enumerations


Define Documentation

#define DEPRECATE_GDHTTPREQUESTDELEGATE   __attribute__((deprecated))
#define __has_extension (   x)    0
#define DEPRECATE_CLEARCOOKIES   __attribute__((deprecated))
#define DEPRECATE_GDHTTPREQUEST   __attribute__((deprecated))

Enumeration Type Documentation

This enumeration represents the type of a GDSocket error that is being notified. The error parameter of the GDSocketDelegate::onErr: callback always takes one of these values.

Enumerator:
GDSocketErrorNone 

No error.

This value is a placeholder for when the socket operation succeeded. The error parameter never takes this value.

GDSocketErrorNetworkUnvailable 

Destination network not available.

This value indicates that the socket operation failed because the destination network couldn't be reached.

GDSocketErrorServiceTimeOut 

Socket operation timed out.

This value indicates that a socket operation timed out and didn't complete.

Deprecated:
This enumeration is deprecated and will be removed in a future release. It is associated with a deprecated class, GDHttpRequest.

This enumeration represents the possible states of an HTTP request.

See also:
http://www.w3.org/TR/XMLHttpRequest/#states

Compare the value returned by getState to these constants to check the ready state of the GDHttpRequest object. (The XHR state names have been prefixed with GDHttpRequest_ and the standard values used.)

Enumerator:
GDHttpRequest_UNSENT 

Prior to the request being opened (deprecated).

GDHttpRequest_OPENED 

The request is ready to have headers added, and be sent (deprecated).

GDHttpRequest_SENT 

The request has been sent (deprecated).

GDHttpRequest_HEADERS_RECEIVED 

The request has been sent, and response headers have been received (deprecated).

GDHttpRequest_LOADING 

Headers and some data have been received in response to the request (deprecated).

GDHttpRequest_DONE 

All data has been received, or a permanent error has been encountered (deprecated).