2017-07-07 18:41:22 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
|
|
|
|
id="cordova-plugin-webserver"
|
|
|
|
version="1.0.0">
|
|
|
|
<engines>
|
|
|
|
<engine name="cordova" version=">=3.0.0" />
|
|
|
|
</engines>
|
|
|
|
|
|
|
|
<name>Webserver for Cordova Apps</name>
|
|
|
|
<keywords>webserver,cordova,http, request, response,server</keywords>
|
|
|
|
<repo></repo>
|
|
|
|
<issue></issue>
|
|
|
|
|
|
|
|
<js-module src="webserver.js" name="webserver">
|
|
|
|
<clobbers target="webserver" />
|
|
|
|
</js-module>
|
|
|
|
|
|
|
|
<platform name="android">
|
|
|
|
<source-file src="src/android/Webserver.java" />
|
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Webserver">
|
|
|
|
<param name="android-package" value="Webserver"/>
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
</platform>
|
|
|
|
|
|
|
|
<platform name="ios">
|
|
|
|
<source-file src="src/ios/Webserver.swift" />
|
2017-07-07 21:23:55 +08:00
|
|
|
<dependency id="cordova-plugin-add-swift-support" version="1.6.1"/>
|
|
|
|
|
|
|
|
<framework src="libz.tbd" />
|
|
|
|
<framework src="libxml2.tbd" />
|
|
|
|
|
|
|
|
<!-- GCDWebserver -->
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServer.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServer.m" />
|
|
|
|
|
|
|
|
<header-file src="src/ios/Webserver-Bridging-Header.h"/>
|
|
|
|
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerConnection.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServerConnection.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerFunctions.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServerFunctions.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerHTTPStatusCodes.h" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerPrivate.h" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServerRequest.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Core/GCDWebServerResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Core/GCDWebServerResponse.m" />
|
|
|
|
|
|
|
|
<!-- GCDWebserver Requests -->
|
|
|
|
<header-file src="src/ios/GCDWebServer/Requests/GCDWebServerDataRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Requests/GCDWebServerDataRequest.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Requests/GCDWebServerFileRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Requests/GCDWebServerFileRequest.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Requests/GCDWebServerMultiPartFormRequest.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Requests/GCDWebServerURLEncodedFormRequest.m" />
|
|
|
|
|
|
|
|
<!-- GCDWebserver Response -->
|
|
|
|
<header-file src="src/ios/GCDWebServer/Responses/GCDWebServerDataResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Responses/GCDWebServerDataResponse.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Responses/GCDWebServerErrorResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Responses/GCDWebServerErrorResponse.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Responses/GCDWebServerFileResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Responses/GCDWebServerFileResponse.m" />
|
|
|
|
<header-file src="src/ios/GCDWebServer/Responses/GCDWebServerStreamedResponse.h" />
|
|
|
|
<source-file src="src/ios/GCDWebServer/Responses/GCDWebServerStreamedResponse.m" />
|
|
|
|
|
|
|
|
|
2017-07-07 18:41:22 +08:00
|
|
|
<config-file target="config.xml" parent="/*">
|
|
|
|
<feature name="Webserver">
|
|
|
|
<param name="ios-package" value="Webserver" />
|
|
|
|
</feature>
|
|
|
|
</config-file>
|
|
|
|
</platform>
|
|
|
|
</plugin>
|