ObjFW  Diff

Differences From Artifact [c1f8d9bed3]:

To Artifact [751caf553b]:


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
119
120
121
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
119
120
121







-
+




-
+




-
+





-
+







	uint16_t _port;
	id <OFHTTPServerDelegate> _Nullable _delegate;
	OFString *_Nullable _name;
	OFTCPSocket *_Nullable _listeningSocket;
}

/*!
 * The host on which the HTTP server will listen.
 * @brief The host on which the HTTP server will listen.
 */
@property OF_NULLABLE_PROPERTY (copy, nonatomic) OFString *host;

/*!
 * The port on which the HTTP server will listen.
 * @brief The port on which the HTTP server will listen.
 */
@property (nonatomic) uint16_t port;

/*!
 * The delegate for the HTTP server.
 * @brief The delegate for the HTTP server.
 */
@property OF_NULLABLE_PROPERTY (assign, nonatomic)
    id <OFHTTPServerDelegate> delegate;

/*!
 * The server name the server presents to clients.
 * @brief The server name the server presents to clients.
 *
 * Setting it to `nil` means no `Server` header will be sent, unless one is
 * specified in the response headers.
 */
@property OF_NULLABLE_PROPERTY (copy, nonatomic) OFString *name;

/*!