1.4 library(json_rpc_server): JSON RPC Server
All Application Manual Name SummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog JSON library
        • Supporting JSON
          • library(json_rpc_server): JSON RPC Server
            • json_method/1
            • json_rpc_dispatch/2
            • json_rpc_dispatch_request/4
            • json_rpc_error/2
            • json_rpc_error/3
Availability::- use_module(library(json_rpc_server)).(can be autoloaded)
Source[det]json_rpc_dispatch(:Stream, +Options)
Run the JSON RPC dispatch loop until end of file is reached on Stream.
Stream is stream pair (see stream_pair/2). Normally, the stream should use utf8 encoding. If the stream is a binary stream, it will be processed as if utf8 encoding is enabled. If it is a text stream the encoding of the stream is respected.