forked from floatinghotpot/cordova-httpd
-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
180 lines (163 loc) · 10.1 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version='1.0' encoding='utf-8'?>
<plugin
id="com.rjfun.cordova.httpd"
version="0.9.2"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>CorHttpd</name>
<description>CorHttpd is an plugin with embedded web server into Cordova</description>
<author>Liming Xie</author>
<license>MIT</license>
<keywords>httpd,web,server,http</keywords>
<repo>https://github.com/floatinghotpot/cordova-httpd.git</repo>
<issue>https://github.com/floatinghotpot/cordova-httpd/issues</issue>
<engines>
<engine name="cordova" version=">=2.9" />
<engine name="cordova-osx" version=">=4.0.0" />
</engines>
<js-module name="CorHttpd" src="www/CorHttpd.js">
<clobbers target="cordova.plugins.CorHttpd" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="CorHttpd">
<param name="android-package" value="com.rjfun.cordova.httpd.CorHttpd" />
</feature>
</config-file>
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
</config-file>
<source-file src="src/android/CorHttpd.java" target-dir="src/com/rjfun/cordova/httpd" />
<source-file src="src/android/AndroidFile.java" target-dir="src/com/rjfun/cordova/httpd" />
<source-file src="src/android/NanoHTTPD.java" target-dir="src/com/rjfun/cordova/httpd" />
<source-file src="src/android/WebServer.java" target-dir="src/com/rjfun/cordova/httpd" />
</platform>
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="CorHttpd">
<param name="ios-package" value="CorHttpd" />
</feature>
</config-file>
<source-file src="src/ios/CorHttpd.m" />
<header-file src="src/ios/CocoaHttpd/HTTPLogging.h" />
<header-file src="src/ios/CocoaHttpd/HTTPServer.h" />
<source-file src="src/ios/CocoaHttpd/HTTPServer.m" />
<header-file src="src/ios/CocoaHttpd/WebSocket.h" />
<source-file src="src/ios/CocoaHttpd/WebSocket.m" />
<header-file src="src/ios/CocoaHttpd/HTTPMessage.h" />
<source-file src="src/ios/CocoaHttpd/HTTPMessage.m" />
<header-file src="src/ios/CocoaHttpd/HTTPAuthenticationRequest.h" />
<source-file src="src/ios/CocoaHttpd/HTTPAuthenticationRequest.m" />
<header-file src="src/ios/CocoaHttpd/HTTPConnection.h" />
<source-file src="src/ios/CocoaHttpd/HTTPConnection.m" />
<header-file src="src/ios/CocoaHttpd/HTTPResponse.h" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPAsyncFileResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPAsyncFileResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPErrorResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPErrorResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPDynamicFileResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPDynamicFileResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPRedirectResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPRedirectResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPFileResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPFileResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPDataResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPDataResponse.m" />
<header-file src="src/ios/CocoaHttpd/Mime/MultipartFormDataParser.h" />
<source-file src="src/ios/CocoaHttpd/Mime/MultipartFormDataParser.m" />
<header-file src="src/ios/CocoaHttpd/Mime/MultipartMessageHeader.h" />
<source-file src="src/ios/CocoaHttpd/Mime/MultipartMessageHeader.m" />
<header-file src="src/ios/CocoaHttpd/Mime/MultipartMessageHeaderField.h" />
<source-file src="src/ios/CocoaHttpd/Mime/MultipartMessageHeaderField.m" />
<header-file src="src/ios/CocoaHttpd/Categories/DDData.h" />
<source-file src="src/ios/CocoaHttpd/Categories/DDData.m" />
<header-file src="src/ios/CocoaHttpd/Categories/DDNumber.h" />
<source-file src="src/ios/CocoaHttpd/Categories/DDNumber.m" />
<header-file src="src/ios/CocoaHttpd/Categories/DDRange.h" />
<source-file src="src/ios/CocoaHttpd/Categories/DDRange.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaAsyncSocket/GCDAsyncSocket.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaAsyncSocket/GCDAsyncSocket.m" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDFileLogger.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDFileLogger.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDASLLogger.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDASLLogger.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDTTYLogger.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDTTYLogger.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDLog.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDLog.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.m" />
<framework src="CFNetwork.framework" />
<framework src="Foundation.framework" />
<framework src="Security.framework" />
</platform>
<platform name="osx">
<config-file parent="/*" target="config.xml">
<feature name="CorHttpd">
<param name="ios-package" value="CorHttpd" />
</feature>
</config-file>
<!-- OSX and iOS share the same sources -->
<source-file src="src/ios/CorHttpd.m" />
<header-file src="src/ios/CocoaHttpd/HTTPLogging.h" />
<header-file src="src/ios/CocoaHttpd/HTTPServer.h" />
<source-file src="src/ios/CocoaHttpd/HTTPServer.m" />
<header-file src="src/ios/CocoaHttpd/WebSocket.h" />
<source-file src="src/ios/CocoaHttpd/WebSocket.m" />
<header-file src="src/ios/CocoaHttpd/HTTPMessage.h" />
<source-file src="src/ios/CocoaHttpd/HTTPMessage.m" />
<header-file src="src/ios/CocoaHttpd/HTTPAuthenticationRequest.h" />
<source-file src="src/ios/CocoaHttpd/HTTPAuthenticationRequest.m" />
<header-file src="src/ios/CocoaHttpd/HTTPConnection.h" />
<source-file src="src/ios/CocoaHttpd/HTTPConnection.m" />
<header-file src="src/ios/CocoaHttpd/HTTPResponse.h" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPAsyncFileResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPAsyncFileResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPErrorResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPErrorResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPDynamicFileResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPDynamicFileResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPRedirectResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPRedirectResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPFileResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPFileResponse.m" />
<header-file src="src/ios/CocoaHttpd/Responses/HTTPDataResponse.h" />
<source-file src="src/ios/CocoaHttpd/Responses/HTTPDataResponse.m" />
<header-file src="src/ios/CocoaHttpd/Mime/MultipartFormDataParser.h" />
<source-file src="src/ios/CocoaHttpd/Mime/MultipartFormDataParser.m" />
<header-file src="src/ios/CocoaHttpd/Mime/MultipartMessageHeader.h" />
<source-file src="src/ios/CocoaHttpd/Mime/MultipartMessageHeader.m" />
<header-file src="src/ios/CocoaHttpd/Mime/MultipartMessageHeaderField.h" />
<source-file src="src/ios/CocoaHttpd/Mime/MultipartMessageHeaderField.m" />
<header-file src="src/ios/CocoaHttpd/Categories/DDData.h" />
<source-file src="src/ios/CocoaHttpd/Categories/DDData.m" />
<header-file src="src/ios/CocoaHttpd/Categories/DDNumber.h" />
<source-file src="src/ios/CocoaHttpd/Categories/DDNumber.m" />
<header-file src="src/ios/CocoaHttpd/Categories/DDRange.h" />
<source-file src="src/ios/CocoaHttpd/Categories/DDRange.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaAsyncSocket/GCDAsyncSocket.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaAsyncSocket/GCDAsyncSocket.m" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDAbstractDatabaseLogger.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDFileLogger.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDFileLogger.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDASLLogger.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDASLLogger.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDTTYLogger.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDTTYLogger.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDLog.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/DDLog.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/Extensions/ContextFilterLogFormatter.m" />
<header-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.h" />
<source-file src="src/ios/CocoaHttpd/Vendor/CocoaLumberjack/Extensions/DispatchQueueLogFormatter.m" />
<framework src="CFNetwork.framework" />
<framework src="Foundation.framework" />
<framework src="Security.framework" />
</platform>
</plugin>