Sha256: dd8870094dde96b91636b6aea9bf09eb56937347241881333caad7edf81954e1
Contents?: true
Size: 729 Bytes
Versions: 5
Compression:
Stored size: 729 Bytes
Contents
module Bixby class RpcHandler # Handle a request # # @param [JsonRequest] request # # @return [JsonResponse] response def handle(request) raise NotImplementedError end # Channel connect event # # NOTE: only used by WebSocket channels and generally only implemented by # the server-side. # # @param [Bixby::JsonRequest] json_req # @param [Bixby::APIChannel] api def connect(json_req, api) # no-op end # Channel disconnection event # NOTE: only used by WebSocket channels and generally only implemented by # the server-side. # # @param [Bixby::APIChannel] api def disconnect(api) # no-op end end end
Version data entries
5 entries across 5 versions & 1 rubygems