Differences From Artifact [5c01a19877]:
- File
src/OFHTTPServer.h
— part of check-in
[2a27cf3000]
at
2016-01-03 00:41:26
on branch trunk
— Update copyright
While at it, also update the mail address. (user: js, size: 3113) [annotate] [blame] [check-ins using]
To Artifact [79f127a3bc]:
- File
src/OFHTTPServer.h
— part of check-in
[6b4d138cc3]
at
2016-01-05 14:55:47
on branch trunk
— OFHTTPServer: Allow setting name to nil
Setting it to nil means no Server header is sent. (user: js, size: 3251) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
89 90 91 92 93 94 95 96 | /*! * The delegate for the HTTP server. */ @property OF_NULLABLE_PROPERTY (assign) id <OFHTTPServerDelegate> delegate; /*! * The server name the server presents to clients. */ | > > > | | 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | /*! * The delegate for the HTTP server. */ @property OF_NULLABLE_PROPERTY (assign) id <OFHTTPServerDelegate> delegate; /*! * 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) OFString *name; /*! * @brief Creates a new HTTP server. * * @return A new HTTP server */ + (instancetype)server; |
︙ | ︙ |