24OF_ASSUME_NONNULL_BEGIN
72OF_SUBCLASSING_RESTRICTED
80 bool _hasRemoteAddress;
86@property (copy, nonatomic)
OFIRI *IRI;
104@property (copy, nonatomic)
OFString *protocolVersionString;
114@property OF_NULLABLE_PROPERTY (copy, nonatomic)
122@property OF_NULLABLE_PROPERTY (nonatomic)
const OFSocketAddress *remoteAddress;
130+ (instancetype)requestWithIRI: (
OFIRI *)IRI;
138- (instancetype)initWithIRI: (
OFIRI *)IRI;
140- (instancetype)init OF_UNAVAILABLE;
174 OF_DEPRECATED(ObjFW, 1, 1,
"Use OFHTTPRequestMethodString instead");
187 OF_DEPRECATED(ObjFW, 1, 1,
"Use OFHTTPRequestMethodParseString instead");
OFHTTPRequestMethod
The type of an HTTP request.
Definition OFHTTPRequest.h:36
@ OFHTTPRequestMethodHead
Definition OFHTTPRequest.h:42
@ OFHTTPRequestMethodTrace
Definition OFHTTPRequest.h:50
@ OFHTTPRequestMethodDelete
Definition OFHTTPRequest.h:48
@ OFHTTPRequestMethodPut
Definition OFHTTPRequest.h:46
@ OFHTTPRequestMethodOptions
Definition OFHTTPRequest.h:38
@ OFHTTPRequestMethodGet
Definition OFHTTPRequest.h:40
@ OFHTTPRequestMethodPost
Definition OFHTTPRequest.h:44
@ OFHTTPRequestMethodConnect
Definition OFHTTPRequest.h:52
OFHTTPRequestMethod OFHTTPRequestMethodParseName(OFString *string)
Returns the request method for the specified string.
Definition OFHTTPRequest.m:93
OFHTTPRequestMethod OFHTTPRequestMethodParseString(OFString *string)
Returns the request method for the specified string.
Definition OFHTTPRequest.m:62
OFString * OFHTTPRequestMethodString(OFHTTPRequestMethod method)
Returns a string describing the specified request method.
Definition OFHTTPRequest.m:37
const char * OFHTTPRequestMethodName(OFHTTPRequestMethod method)
Returns a C string describing the specified request method.
Definition OFHTTPRequest.m:86
A class for storing arbitrary data in an array.
Definition OFData.h:46
An abstract class for storing objects in a dictionary.
Definition OFDictionary.h:84
A class for storing HTTP requests.
Definition OFHTTPRequest.h:75
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition OFIRI.h:41
The root class for all other classes inside ObjFW.
Definition OFObject.h:692
A class for handling strings.
Definition OFString.h:143
A protocol for the creation of copies.
Definition OFObject.h:1350
The HTTP version of the HTTP request.
Definition OFHTTPRequest.h:60
unsigned char minor
Definition OFHTTPRequest.h:64
unsigned char major
Definition OFHTTPRequest.h:62
A struct which represents a host / port pair for a socket.
Definition OFSocket.h:189