-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
72e36bf
commit 55599fe
Showing
11 changed files
with
979 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
ChaoTimer.xcodeproj/project.xcworkspace/xcshareddata/ChaoTimer.xccheckout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDESourceControlProjectFavoriteDictionaryKey</key> | ||
<false/> | ||
<key>IDESourceControlProjectIdentifier</key> | ||
<string>DAD780BB-8B16-4730-B842-EFA8D20AB88A</string> | ||
<key>IDESourceControlProjectName</key> | ||
<string>ChaoTimer</string> | ||
<key>IDESourceControlProjectOriginsDictionary</key> | ||
<dict> | ||
<key>5BA5C7DB-3964-4EBB-BC7D-AA402EEDF366</key> | ||
<string>https://github.com/nijixuchao/ChaoTimer.git</string> | ||
</dict> | ||
<key>IDESourceControlProjectPath</key> | ||
<string>ChaoTimer.xcodeproj/project.xcworkspace</string> | ||
<key>IDESourceControlProjectRelativeInstallPathDictionary</key> | ||
<dict> | ||
<key>5BA5C7DB-3964-4EBB-BC7D-AA402EEDF366</key> | ||
<string>../..</string> | ||
</dict> | ||
<key>IDESourceControlProjectURL</key> | ||
<string>https://github.com/nijixuchao/ChaoTimer.git</string> | ||
<key>IDESourceControlProjectVersion</key> | ||
<integer>110</integer> | ||
<key>IDESourceControlProjectWCCIdentifier</key> | ||
<string>5BA5C7DB-3964-4EBB-BC7D-AA402EEDF366</string> | ||
<key>IDESourceControlProjectWCConfigurations</key> | ||
<array> | ||
<dict> | ||
<key>IDESourceControlRepositoryExtensionIdentifierKey</key> | ||
<string>public.vcs.git</string> | ||
<key>IDESourceControlWCCIdentifierKey</key> | ||
<string>5BA5C7DB-3964-4EBB-BC7D-AA402EEDF366</string> | ||
<key>IDESourceControlWCCName</key> | ||
<string>ChaoTimer</string> | ||
</dict> | ||
</array> | ||
</dict> | ||
</plist> |
Binary file modified
BIN
+4.64 KB
(100%)
...proj/project.xcworkspace/xcuserdata/nijixuchao.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
// | ||
// HTTPResponseHandler.h | ||
// TextTransfer | ||
// | ||
// Created by Matt Gallagher on 2009/07/13. | ||
// Copyright 2009 Matt Gallagher. All rights reserved. | ||
// | ||
// Permission is given to use this source code file, free of charge, in any | ||
// project, commercial or otherwise, entirely at your risk, with the condition | ||
// that any redistribution (in part or whole) of source code must retain | ||
// this copyright and permission notice. Attribution in compiled projects is | ||
// appreciated but not required. | ||
// | ||
|
||
#if TARGET_OS_IPHONE | ||
#import <UIKit/UIKit.h> | ||
#import <CFNetwork/CFNetwork.h> | ||
#else | ||
#import <Cocoa/Cocoa.h> | ||
#endif | ||
|
||
@class HTTPServer; | ||
|
||
@interface HTTPResponseHandler : NSObject | ||
{ | ||
CFHTTPMessageRef request; | ||
NSString *requestMethod; | ||
NSDictionary *headerFields; | ||
NSFileHandle *fileHandle; | ||
HTTPServer *server; | ||
NSURL *url; | ||
} | ||
|
||
+ (NSUInteger)priority; | ||
+ (void)registerHandler:(Class)handlerClass; | ||
|
||
+ (HTTPResponseHandler *)handlerForRequest:(CFHTTPMessageRef)aRequest | ||
fileHandle:(NSFileHandle *)requestFileHandle | ||
server:(HTTPServer *)aServer; | ||
|
||
- (id)initWithRequest:(CFHTTPMessageRef)aRequest | ||
method:(NSString *)method | ||
url:(NSURL *)requestURL | ||
headerFields:(NSDictionary *)requestHeaderFields | ||
fileHandle:(NSFileHandle *)requestFileHandle | ||
server:(HTTPServer *)aServer; | ||
- (void)startResponse; | ||
- (void)endResponse; | ||
|
||
@end |
Oops, something went wrong.