BatchRequest

NAME

Cro::RPC::JSON::BatchRequest - container for requests received as members of a batch request

DESCRIPTION

This class must not be manipulated directly under normal circumstances.

ATTRIBUTES

  • $.pending - number of pending requests, i.e. those for which responses were not completed yet (see Cro::RPC::JSON::MethodResponse)

  • Promise:D $.completed ā€“ this promise is kept when all responses are completed

  • Cro::RPC::JSON::BatchResponse$.jrpc-response ā€“ batch response object paired to this batch request

METHODS

jrpc-requests(-- Seq:D)>

All contained requests

respond()

If this batch request is complete, i.e. all of related responses are completed, then it will be emitted.

SEE ALSO

Cro::RPC::JSON, Cro::RPC::JSON::Request, Cro::RPC::JSON::MethodResponse, Cro::RPC::JSON::BatchRequest,

AUTHOR

Vadim Belman [email protected]

LICENSE

Artistic License 2.0

See the LICENSE file in this distribution.

Cro::RPC::JSON v0.1.5

JSON-RPC 2.0 framework built on top of Cro

Authors

  • Vadim Belman

License

Artistic-2.0

Dependencies

Cro::HTTPJSON::FastJSON::MarshalCro::HTTP::RouterCro::HTTP::Router::WebSocket

Provides

  • Cro::RPC::JSON
  • Cro::RPC::JSON::Auth
  • Cro::RPC::JSON::BatchRequest
  • Cro::RPC::JSON::BatchResponse
  • Cro::RPC::JSON::Exception
  • Cro::RPC::JSON::Handler
  • Cro::RPC::JSON::META
  • Cro::RPC::JSON::Message
  • Cro::RPC::JSON::Metamodel::ClassHOW
  • Cro::RPC::JSON::Metamodel::ConcreteRoleHOW
  • Cro::RPC::JSON::Metamodel::MethodContainer
  • Cro::RPC::JSON::Metamodel::ParametricRoleHOW
  • Cro::RPC::JSON::Method
  • Cro::RPC::JSON::MethodResponse
  • Cro::RPC::JSON::Notification
  • Cro::RPC::JSON::Request
  • Cro::RPC::JSON::RequestParser
  • Cro::RPC::JSON::RequestParser::BodyStr
  • Cro::RPC::JSON::RequestParser::HTTP
  • Cro::RPC::JSON::RequestParser::WebSocket
  • Cro::RPC::JSON::Requestish
  • Cro::RPC::JSON::Response
  • Cro::RPC::JSON::ResponseSerializer
  • Cro::RPC::JSON::ResponseSerializer::HTTP
  • Cro::RPC::JSON::ResponseSerializer::WebSocket
  • Cro::RPC::JSON::Transform
  • Cro::RPC::JSON::Unmarshal
  • Cro::RPC::JSON::Utils

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.