Pierre-Olivier Latour 11 years ago
parent
commit
56c096996f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      GCDWebServer/Core/GCDWebServer.h

+ 4 - 0
GCDWebServer/Core/GCDWebServer.h

@@ -233,6 +233,10 @@ extern NSString* const GCDWebServerAuthenticationMethod_DigestAccess;
  *  then passes each one to a "handler" capable of generating an HTTP response
  *  then passes each one to a "handler" capable of generating an HTTP response
  *  for it, which is then sent back to the client.
  *  for it, which is then sent back to the client.
  *
  *
+ *  GCDWebServer instances can be created and used from any thread but it's
+ *  recommended to have the main thread's runloop be running so internal callbacks
+ *  can be handled e.g. for Bonjour registration.
+ *
  *  See the README.md file for more information about the architecture of GCDWebServer.
  *  See the README.md file for more information about the architecture of GCDWebServer.
  */
  */
 @interface GCDWebServer : NSObject
 @interface GCDWebServer : NSObject