Sha256: 75aa14a52d223b001b8c243d489cd09855b4abf232cf43c81dac8e9eaa55fc46
Contents?: true
Size: 764 Bytes
Versions: 19
Compression:
Stored size: 764 Bytes
Contents
module Bixby class RpcHandler def initialize(*args) end # 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
19 entries across 19 versions & 1 rubygems