Differences From Artifact [0bad35c687]:
- File
src/OFHTTPRequest.h
— part of check-in
[f3ccf14461]
at
2017-10-29 21:58:14
on branch trunk
— Convert methods to properties where appropriate
This improves Swift compatibility. (user: js, size: 4817) [annotate] [blame] [check-ins using]
To Artifact [07ff666263]:
- File src/OFHTTPRequest.h — part of check-in [cc3ad3ddd3] at 2017-11-18 18:50:50 on branch trunk — Documentation: Use @brief for all properties (user: js, size: 4866) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
73 74 75 76 77 78 79 | of_http_request_protocol_version_t _protocolVersion; OFDictionary OF_GENERIC(OFString *, OFString *) *_Nullable _headers; OFData *_Nullable _body; OFString *_Nullable _remoteAddress; } /*! | | | | | | | | | 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | of_http_request_protocol_version_t _protocolVersion; OFDictionary OF_GENERIC(OFString *, OFString *) *_Nullable _headers; OFData *_Nullable _body; OFString *_Nullable _remoteAddress; } /*! * @brief The URL of the HTTP request. */ @property (copy, nonatomic) OFURL *URL; /*! * @brief The protocol version of the HTTP request. */ @property (nonatomic) of_http_request_protocol_version_t protocolVersion; /*! * @brief The protocol version of the HTTP request as a string. */ @property (readonly, nonatomic) OFString *protocolVersionString; /*! * @brief The request method of the HTTP request. */ @property (nonatomic) of_http_request_method_t method; /*! * @brief The headers for the HTTP request. */ @property OF_NULLABLE_PROPERTY (copy, nonatomic) OFDictionary OF_GENERIC(OFString *, OFString *) *headers; /*! * @brief The entity body of the HTTP request. */ @property OF_NULLABLE_PROPERTY (copy, nonatomic) OFData *body; /*! * @brief The remote address from which the request originates. */ @property OF_NULLABLE_PROPERTY (copy, nonatomic) OFString *remoteAddress; /*! * @brief Creates a new OFHTTPRequest. * * @return A new, autoreleased OFHTTPRequest |
︙ | ︙ |