Commit Graph

42 Commits

Author SHA1 Message Date
Keith Wait 752148e0c8 check for request id when sending files
avoids sending the file data in response to every single request issued after the one for the file.
2018-09-09 17:00:54 -05:00
Keith Wait 128933f721 correct implementation errors and readme text 2018-09-03 10:55:14 -05:00
Keith Wait 60f55066ce add file responses 2018-08-11 21:48:30 -05:00
Michael Bykovski 390a03551c Add IOException 2018-04-19 13:16:36 +02:00
Michael Bykovski 2438e7a0fb Merge pull request #17 from EvilDrW/master
accelerate parsing request body
2018-04-19 11:15:34 +02:00
Keith Wait 1e53825b47 accelerate parsing request body 2018-04-18 20:33:14 -05:00
Michael Bykovski b8100b638e Update packages for vulnaribility 2018-01-25 11:27:52 +01:00
Michael Bykovski 4914ce1aab Version Bump 2018-01-25 11:14:43 +01:00
Michael Bykovski 519a264040 Allow set the mimetype over the content type 2018-01-25 11:14:31 +01:00
Michael Bykovski f77fd4d4b0 Merge branch 'master' of https://github.com/bykof/cordova-plugin-webserver 2017-09-23 18:13:21 +02:00
Michael Bykovski 9df48b7fb9 Deleted appserver, it is not a part of the project 2017-09-23 18:12:25 +02:00
Michael Bykovski ee060cef50 changed responseId to requestId
#fail
2017-09-23 16:58:27 +02:00
Michael Bykovski 9c4915bf52 Changed code example to javascript mode 2017-09-21 00:13:14 +02:00
Michael Bykovski d79671b0c9 Add own callback for notFound 2017-07-25 22:09:56 +02:00
Michael Bykovski 7b9fad3090 Recursivce calls are not good... 2017-07-25 21:29:40 +02:00
Michael Bykovski 055398323e RequestId have to be send in the sendResponse 2017-07-25 20:58:42 +02:00
Michael Bykovski a6fe285656 Updated ES6 example.
Do some bugfixes
Added eslint global var for react gg ez
2017-07-25 18:48:07 +02:00
Michael Bykovski 91eef91b6b Just pack webserver.js 2017-07-21 14:11:16 +02:00
Michael Bykovski e2937c177c Removed Appserver and just set it as an example 2017-07-21 13:52:10 +02:00
Michael Bykovski b657a1b385 Compile the whole ./src/www directory 2017-07-21 11:57:14 +02:00
Michael Bykovski f993aab1c2 Make tests and updated the export of AppServer 2017-07-21 11:48:05 +02:00
Michael Bykovski 4d462072bb Introducing the AppServer -> an abstraction of the webserver 2017-07-21 11:13:38 +02:00
Michael Bykovski 69854c8edb Update README.md 2017-07-13 09:39:50 +02:00
Michael Bykovski 8a261cc34a Update README.md 2017-07-13 09:39:36 +02:00
Michael Bykovski 31591b8cd5 Fixed Body interpretation for requests 2017-07-12 10:45:05 +02:00
Michael Bykovski d091dc88cd Write Webserver in ES6 2017-07-12 10:44:44 +02:00
Michael Bykovski 155b46fae4 Append method to tests 2017-07-12 10:43:50 +02:00
Michael Bykovski 0a51592b69 Sleep for 1 Millisecond 2017-07-11 19:51:39 +02:00
Michael Bykovski 8ac4c0310c Update package.json 2017-07-11 19:50:51 +02:00
Michael Bykovski 41aa3f3f66 Update repo and issue in plugin.xml 2017-07-11 19:43:47 +02:00
Michael Bykovski 7f5d48551d Both should return a text and not a json object to make it dynamicly 2017-07-11 19:40:37 +02:00
Michael Bykovski d3e0833913 Updated README.md and NanoHTTPDServer 2017-07-11 17:35:59 +02:00
Michael Bykovski 7c1607448e Put some logs in the Java things, got an error cause i defined the wrong function name 2017-07-11 16:45:27 +02:00
Michael Bykovski ac5b47b1a0 Plugin XML settings 2017-07-11 15:35:12 +02:00
Michael Bykovski fb261d6c67 Do terrible code in Java
Have to fix the xml configs
2017-07-11 13:37:51 +02:00
Michael Bykovski 4b66b7a06b Removed prints and add documentation 2017-07-10 14:48:40 +02:00
Michael Bykovski e02ff2b04a Created first roundtrip from swift to js 2017-07-10 14:38:46 +02:00
Michael Bykovski 5c160eee16 Starting server and stopping works.
Receiving receiving needs improvements
2017-07-10 09:58:47 +02:00
Michael Bykovski 1459752b0d Make server start and stop (start on a default or given port) 2017-07-08 12:15:41 +02:00
Michael Bykovski 203bd54167 GCDWebserver appended to the project 2017-07-07 15:23:55 +02:00
Michael Bykovski 2198a81f0b Write first class, make tests and took a coffee to understand freaking cordova-plugin ecosystem 2017-07-07 12:41:22 +02:00
Michael Bykovski 1cae514078 Initial commit 2017-07-07 11:44:31 +02:00