Did you know ... | Search Documentation: |
Pack imodule -- README.md |
Library for sharing predicates to others host by internet.
Server:
:- imodule(8123,[password/1],[ password('password'), certificate_file('cert.pem'), key_file('key.pem') ]).
Client:
:- iuse_module('127.0.0.1',8123,[ cacert_file('cert.pem'), cert_verify_hook(cert_accept_any) ]). ?- password(P).
Client -> Server
list.
Server -> Client
[first/1,second/2].
Client -> Server
run. first(A).
Server -> Client
first(request).