轻量的HTTP server GCDWebServer
- 授权协议: BSD
- 开发语言: Objective-C
- 操作系统: OS X
- 软件首页: https://github.com/swisspol/GCDWebServer
- 软件文档: 由swisspol提供的开源库GCDWebServer是一个轻量的HTTP server,它基于 GCD 并可用于 OS X & iOS,该库还实现了基于web的文件上传以及 WebDAV server等扩展功能。
软件介绍
由swisspol提供的开源库GCDWebServer是一个轻量的HTTP server,它基于 GCD 并可用于 OS X & iOS,该库还实现了基于web的文件上传以及 WebDAV server等扩展功能。
使用方法:
#import "GCDWebServer.h"
#import "GCDWebServerDataResponse.h"
static GCDWebServer* _webServer = nil; // This should really be an ivar of your application's delegate class
- (BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions {
// Create server
_webServer = [[GCDWebServer alloc] init];
// Add a handler to respond to GET requests on any URL
[_webServer addDefaultHandlerForMethod:@"GET"
requestClass:[GCDWebServerRequest class]
processBlock:^GCDWebServerResponse *(GCDWebServerRequest* request) {
return [GCDWebServerDataResponse responseWithHTML:@"<html><body><p>Hello World</p></body></html>"];
}];
// Start server on port 8080
[_webServer startWithPort:8080 bonjourName:nil];
return YES;
}
Thinking Recursively
Eric S. Roberts / Wiley / 1986-1-17 / USD 85.67
The process of solving large problems by breaking them down into smaller, more simple problems that have identical forms. Thinking Recursively: A small text to solve large problems. Concentrating on t......一起来看看 《Thinking Recursively》 这本书的介绍吧!
CSS 压缩/解压工具
在线压缩/解压 CSS 代码
在线进制转换器
各进制数互转换器
