ObjFW  Diff

Differences From Artifact [4eb3a5ba06]:

  • File src/OFHTTPResponse.h — part of check-in [81d47f4398] at 2014-01-25 19:33:57 on branch trunk — Move socket includes and helpers to separate files

    The new file socket.h includes all headers required for sockets on the
    used platform, while the file socket_helpers.h defines the BSD API
    functions to the platform specific functions if necessary.

    This cleans up the classes dealing with sockets a lot and also reduces
    code duplication. (user: js, size: 2953) [annotate] [blame] [check-ins using]

To Artifact [a95495b814]:


16
17
18
19
20
21
22


23
24
25
26
27
28
29

#import "OFStream.h"
#import "OFHTTPRequest.h"

@class OFDictionary;

/*!


 * @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 *_headers;







>
>







16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

#import "OFStream.h"
#import "OFHTTPRequest.h"

@class OFDictionary;

/*!
 * @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 *_headers;