40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
#ifdef OF_HAVE_OPTIONAL_PROTOCOLS
@optional
#endif
/*!
* @brief This method is called when the HTTP server's listening socket
* encountered an exception.
*
* @param exception The exception that occurred on the HTTP server's listening
* socket
* @return Whether to continue listening. If you return NO, existing connections
* will still be handled and you can start accepting new connections
* again by calling @ref start again.
*/
- (BOOL)server: (OFHTTPServer*)server
didReceiveExceptionOnListeningSocket: (OFException*)e;
@end
/*!
* @brief A class for creating a simple HTTP server inside of applications.
*/
@interface OFHTTPServer: OFObject
{
|
>
|
|
|
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#ifdef OF_HAVE_OPTIONAL_PROTOCOLS
@optional
#endif
/*!
* @brief This method is called when the HTTP server's listening socket
* encountered an exception.
*
* @param server The HTTP server which encountered an exception
* @param exception The exception that occurred on the HTTP server's listening
* socket
* @return Whether to continue listening. If you return NO, existing connections
* will still be handled and you can start accepting new connections
* again by calling @ref OFHTTPServer::start again.
*/
- (BOOL)server: (OFHTTPServer*)server
didReceiveExceptionOnListeningSocket: (OFException*)exception;
@end
/*!
* @brief A class for creating a simple HTTP server inside of applications.
*/
@interface OFHTTPServer: OFObject
{
|