メインコンテンツまでスキップ
バージョン:25.2

read

  • command, keyword
  • open for read
  • read XMLRPC (new in 1.53):
    • To receive an XML-RPC message on a socket, use the read command and specify xmlrpc or xmlrpc message (to read any type of XML-RPC message), xmlrpc request (will throw an exception if the message received is not a request), or xmlrpc response (will throw an exception if the message received is not a response or fault) as the type of value to read:
         read an xmlrpc message from socket clientSocket into msgRecvd
read an xmlrpc request from socket clientSocket

    The following keys are recognized: (XMLRPCRequest)

    Request: The URI to post to

    Host: The host posted to

    URL: The URL posted to, including host and request URI

    Either the Host or URL is REQUIRED. If Host is given with no Request, the request is set to "/".

    User-Agent: if not specified, the SenseTalk long version will be supplied: SenseTalk Release 1.53

    Header: other header elements (optional)

    Method: the method name being called (REQUIRED)

    Params: an array of parameter values. Specify "as boolean", "as text", etc. when needed.

  • Related: open, write