13586d2514
处理ios获取服务状态错误代码
2023-12-15 02:10:49 +08:00
e17c4d002c
处理异常状态
2023-12-15 01:18:52 +08:00
ce067a1e89
添加是否运行状态查询
2023-12-14 22:29:17 +08:00
Sascha Barrett Lenz
3a7ba635a7
Fix iOS webserver:
...
- used wrong path property on dataRequest
- encode response in base64 otherwise there might be encoding issues
- remove the loop to wait for response since it freezes the webserver.
2023-06-23 08:44:38 +02:00
Edward M. Kagan
8a4772042d
Fixed header addition on file serving for android
2019-11-05 19:21:24 +03:00
Michael Bykovski
3d296c366c
Merge pull request #46 from fb64/master
...
Fix error on import GCDWebServer*.h file with cocoa pod framework
2019-10-23 19:59:15 +02:00
Florian Bernard
8595ca875f
fix import error with pod framework
2019-10-23 19:36:28 +02:00
Thomas Nadin
c509f3d872
Adds support to iOS for serving partial content (videos)
2019-09-26 10:39:51 +01:00
boedy
4e600184e5
Call error callback if server can't start
2019-05-13 17:25:57 +02:00
boedy
d43bf3b77c
Call error callback if server can't start
2019-05-13 15:08:15 +02:00
boedy
64b5089b6b
iOS bridging header
2019-05-13 14:53:07 +02:00
boedy
c1d68dd88b
Determine mime type based on file extension
2019-05-11 15:43:50 +02:00
boedy
c9f998b642
Return error messages returned by exception
2019-05-11 15:42:13 +02:00
boedy
fd3d9e0366
Support file responses on iOS
2019-05-11 15:38:50 +02:00
boedy
cfe5dab601
Use CocoaPods instead of including copy of GCDWebServer in Project. Reduces conflict chance with other plugins
2019-05-10 17:56:32 +02:00
boedy
5d08202131
objc compatible with swift
2019-05-09 15:32:48 +02:00
boedy
a93a136535
Merge branch 'master' of https://github.com/bykof/cordova-plugin-webserver
2019-05-09 13:50:34 +02:00
Michael Bykovski
9a4369ce57
Merge pull request #25 from kukukk/master
...
iOS: clean up by removing the handled response
2018-09-11 09:28:27 +02:00
Keith Wait
1bee3d0604
use correct method for key query
2018-09-09 19:54:26 -05:00
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
Szabolcs Balogh
29ab495aad
iOS: clean up by removing the handled response
2018-08-21 11:57:01 +03:00
Keith Wait
60f55066ce
add file responses
2018-08-11 21:48:30 -05:00
boedy
b414bb5d04
keep running webserver in background
2018-05-02 16:18:19 +02:00
Michael Bykovski
390a03551c
Add IOException
2018-04-19 13:16:36 +02:00
Keith Wait
1e53825b47
accelerate parsing request body
2018-04-18 20:33:14 -05:00
Michael Bykovski
519a264040
Allow set the mimetype over the content type
2018-01-25 11:14:31 +01:00
Michael Bykovski
9df48b7fb9
Deleted appserver, it is not a part of the project
2017-09-23 18:12:25 +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
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
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
0a51592b69
Sleep for 1 Millisecond
2017-07-11 19:51:39 +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
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