24 OF_ASSUME_NONNULL_BEGIN
72 OF_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");
192 OF_ASSUME_NONNULL_END
unsigned char minor
Definition: OFHTTPRequest.h:64
The root class for all other classes inside ObjFW.
Definition: OFObject.h:690
Definition: OFHTTPRequest.h:40
OFHTTPRequestMethod OFHTTPRequestMethodParseName(OFString *string)
Returns the request method for the specified string.
Definition: OFHTTPRequest.m:93
OFString * OFHTTPRequestMethodString(OFHTTPRequestMethod method)
Returns a string describing the specified request method.
Definition: OFHTTPRequest.m:37
unsigned char major
Definition: OFHTTPRequest.h:62
A struct which represents a host / port pair for a socket.
Definition: OFSocket.h:189
Definition: OFHTTPRequest.h:50
A class for handling strings.
Definition: OFString.h:142
OFHTTPRequestMethod
The type of an HTTP request.
Definition: OFHTTPRequest.h:36
The HTTP version of the HTTP request.
Definition: OFHTTPRequest.h:60
OFHTTPRequestMethod OFHTTPRequestMethodParseString(OFString *string)
Returns the request method for the specified string.
Definition: OFHTTPRequest.m:62
An abstract class for storing objects in a dictionary.
Definition: OFDictionary.h:82
Definition: OFHTTPRequest.h:42
A class for storing HTTP requests.
Definition: OFHTTPRequest.h:73
A class for representing IRIs, URIs, URLs and URNs, for parsing them as well as accessing parts of th...
Definition: OFIRI.h:39
Definition: OFHTTPRequest.h:52
A protocol for the creation of copies.
Definition: OFObject.h:1350
A class for storing arbitrary data in an array.
Definition: OFData.h:45
Definition: OFHTTPRequest.h:44
Definition: OFHTTPRequest.h:48
Definition: OFHTTPRequest.h:38
Definition: OFHTTPRequest.h:46
const char * OFHTTPRequestMethodName(OFHTTPRequestMethod method)
Returns a C string describing the specified request method.
Definition: OFHTTPRequest.m:86