Differences From Artifact [8c2cdf93f1]:
- File src/OFHTTPResponse.h — part of check-in [f663d40cbd] at 2017-05-13 16:29:52 on branch trunk — Also use nonatomic for non-object properties (user: js, size: 2846) [annotate] [blame] [check-ins using]
To Artifact [96ba448907]:
- File
src/OFHTTPResponse.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: 2611) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
12 13 14 15 16 17 18 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFStream.h" #import "OFHTTPRequest.h" | < < < < < < < < | 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | * Public License, either version 2 or 3, which can be found in the file * LICENSE.GPLv2 or LICENSE.GPLv3 respectively included in the packaging of this * file. */ #import "OFStream.h" #import "OFHTTPRequest.h" OF_ASSUME_NONNULL_BEGIN @class OFDictionary OF_GENERIC(KeyType, ObjectType); @class OFArray OF_GENERIC(ObjectType); /*! * @class OFHTTPResponse OFHTTPResponse.h ObjFW/OFHTTPResponse.h * * @brief A class for representing an HTTP request reply as a stream. */ @interface OFHTTPResponse: OFStream { of_http_request_protocol_version_t _protocolVersion; short _statusCode; OFDictionary OF_GENERIC(OFString *, OFString *) *_headers; } /*! * The status code of the reply to the HTTP request. */ @property (nonatomic) short statusCode; /*! * The headers of the reply to the HTTP request. */ @property OF_NULLABLE_PROPERTY (nonatomic, copy) OFDictionary OF_GENERIC(OFString *, OFString *) *headers; /*! * @brief Sets the protocol version of the HTTP request reply. * * @param protocolVersion The protocol version of the HTTP request reply */ - (void)setProtocolVersion: (of_http_request_protocol_version_t)protocolVersion; |
︙ | ︙ |