20 OF_ASSUME_NONNULL_BEGIN
68 OF_SUBCLASSING_RESTRICTED
76 bool _hasRemoteAddress;
82 @property (copy, nonatomic)
OFIRI *IRI;
100 @property (copy, nonatomic)
OFString *protocolVersionString;
110 @property OF_NULLABLE_PROPERTY (copy, nonatomic)
118 @property OF_NULLABLE_PROPERTY (nonatomic)
const OFSocketAddress *remoteAddress;
126 + (instancetype)requestWithIRI: (
OFIRI *)IRI;
134 - (instancetype)initWithIRI: (
OFIRI *)IRI;
136 - (instancetype)init OF_UNAVAILABLE;
164 OF_ASSUME_NONNULL_END
OFHTTPRequestMethod
The type of an HTTP request.
Definition: OFHTTPRequest.h:32
@ OFHTTPRequestMethodHead
Definition: OFHTTPRequest.h:38
@ OFHTTPRequestMethodTrace
Definition: OFHTTPRequest.h:46
@ OFHTTPRequestMethodDelete
Definition: OFHTTPRequest.h:44
@ OFHTTPRequestMethodPut
Definition: OFHTTPRequest.h:42
@ OFHTTPRequestMethodOptions
Definition: OFHTTPRequest.h:34
@ OFHTTPRequestMethodGet
Definition: OFHTTPRequest.h:36
@ OFHTTPRequestMethodPost
Definition: OFHTTPRequest.h:40
@ OFHTTPRequestMethodConnect
Definition: OFHTTPRequest.h:48
OFHTTPRequestMethod OFHTTPRequestMethodParseName(OFString *string)
Returns the request method for the specified string.
Definition: OFHTTPRequest.m:58
const char * OFHTTPRequestMethodName(OFHTTPRequestMethod method)
Returns a C string describing the specified request method.
Definition: OFHTTPRequest.m:33
A class for storing arbitrary data in an array.
Definition: OFData.h:42
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:80
A class for storing HTTP requests.
Definition: OFHTTPRequest.h:71
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition: OFIRI.h:37
The root class for all other classes inside ObjFW.
Definition: OFObject.h:688
A class for handling strings.
Definition: OFString.h:135
A protocol for the creation of copies.
Definition: OFObject.h:1346
The HTTP version of the HTTP request.
Definition: OFHTTPRequest.h:56
unsigned char minor
Definition: OFHTTPRequest.h:60
unsigned char major
Definition: OFHTTPRequest.h:58
A struct which represents a host / port pair for a socket.
Definition: OFSocket.h:182