File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 46
46
from the shell to start the SWISH server accessible on
47
47
http://localhost:3050/
48
48
49
- swipl run.pl
49
+ swipl run.pl [--public] [--port=Port]
50
50
51
51
@see run.pl and daemon.pl
52
52
*/
57
57
% Start the web-server on Port. Port may be unbound to make the
58
58
% system select a free port. Port can also be of the form
59
59
% `localhost:Port` to bind the server only to the localhost
60
- % interface.
60
+ % interface. The broadcast messages are compatible with
61
+ % library(http/http_unix_daemon).
61
62
62
63
server :-
63
64
server(localhost :3050 ).
64
65
server (Port ) :-
65
66
broadcast(http(pre_server_start )),
67
+ broadcast(http(pre_server_start(Port ))),
66
68
http_server(http_dispatch ,
67
69
[ port(Port )
68
70
]),
71
+ broadcast(http(post_server_start(Port ))),
69
72
broadcast(http(post_server_start )).
You can’t perform that action at this time.
0 commit comments