Differences From Artifact [665d821683]:
- File
src/OFHTTPRequest.h
— part of check-in
[fedbbb2344]
at
2017-05-15 21:41:13
on branch trunk
— Remove cookies from OFHTTP{Request,Response}
These can just live in the headers. (user: js, size: 5112) [annotate] [blame] [check-ins using]
To Artifact [c4ecec1316]:
- File src/OFHTTPRequest.h — part of check-in [c8f7b90082] at 2017-07-22 20:50:27 on branch trunk — Split OFDataArray into OFData and OFMutableData (user: js, size: 5095) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
17 18 19 20 21 22 23 | #import "OFObject.h" #import "OFString.h" OF_ASSUME_NONNULL_BEGIN @class OFURL; @class OFDictionary OF_GENERIC(KeyType, ObjectType); | | | 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #import "OFObject.h" #import "OFString.h" OF_ASSUME_NONNULL_BEGIN @class OFURL; @class OFDictionary OF_GENERIC(KeyType, ObjectType); @class OFData; @class OFString; /*! @file */ /*! * @brief The type of an HTTP request. */ |
︙ | ︙ | |||
68 69 70 71 72 73 74 | */ @interface OFHTTPRequest: OFObject <OFCopying> { OFURL *_URL; of_http_request_method_t _method; of_http_request_protocol_version_t _protocolVersion; OFDictionary OF_GENERIC(OFString *, OFString *) *_headers; | | | 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 | */ @interface OFHTTPRequest: OFObject <OFCopying> { OFURL *_URL; of_http_request_method_t _method; of_http_request_protocol_version_t _protocolVersion; OFDictionary OF_GENERIC(OFString *, OFString *) *_headers; OFData *_body; OFString *_remoteAddress; } /*! * The URL of the HTTP request. */ @property (nonatomic, copy) OFURL *URL; |
︙ | ︙ | |||
91 92 93 94 95 96 97 | */ @property OF_NULLABLE_PROPERTY (nonatomic, copy) OFDictionary OF_GENERIC(OFString *, OFString *) *headers; /*! * The entity body of the HTTP request. */ | | | 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 | */ @property OF_NULLABLE_PROPERTY (nonatomic, copy) OFDictionary OF_GENERIC(OFString *, OFString *) *headers; /*! * The entity body of the HTTP request. */ @property OF_NULLABLE_PROPERTY (nonatomic, copy) OFData *body; /*! * The remote address from which the request originates. */ @property OF_NULLABLE_PROPERTY (nonatomic, copy) OFString *remoteAddress; /*! |
︙ | ︙ |