mirror of
https://github.com/swisspol/GCDWebServer.git
synced 2024-10-07 00:08:05 +08:00
Update README.md
This commit is contained in:
parent
2597d6da00
commit
4a3d4537a3
@ -58,6 +58,7 @@ These code snippets show how to implement a custom HTTP server that runs on port
|
||||
**OS X version (command line tool):**
|
||||
```objectivec
|
||||
#import "GCDWebServer.h"
|
||||
#import "GCDWebServerDataResponse.h"
|
||||
|
||||
int main(int argc, const char* argv[]) {
|
||||
@autoreleasepool {
|
||||
@ -88,6 +89,7 @@ int main(int argc, const char* argv[]) {
|
||||
**iOS version:**
|
||||
```objectivec
|
||||
#import "GCDWebServer.h"
|
||||
#import "GCDWebServerDataResponse.h"
|
||||
|
||||
static GCDWebServer* _webServer = nil; // This should really be an ivar of your application's delegate class
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user