Module: GrpcKit
- Defined in:
- lib/grpc_kit.rb,
lib/grpc_kit/call.rb,
lib/grpc_kit/rpcs.rb,
lib/grpc_kit/calls.rb,
lib/grpc_kit/codec.rb,
lib/grpc_kit/client.rb,
lib/grpc_kit/errors.rb,
lib/grpc_kit/server.rb,
lib/grpc_kit/version.rb,
lib/grpc_kit/grpc/dsl.rb,
lib/grpc_kit/rpc_desc.rb,
lib/grpc_kit/grpc/core.rb,
lib/grpc_kit/grpc_time.rb,
lib/grpc_kit/session/io.rb,
lib/grpc_kit/grpc/errors.rb,
lib/grpc_kit/grpc/logger.rb,
lib/grpc_kit/grpc/stream.rb,
lib/grpc_kit/interceptors.rb,
lib/grpc_kit/status_codes.rb,
lib/grpc_kit/method_config.rb,
lib/grpc_kit/rpc_dispatcher.rb,
lib/grpc_kit/session/stream.rb,
lib/grpc_kit/session/headers.rb,
lib/grpc_kit/grpc/interceptor.rb,
lib/grpc_kit/transport/packable.rb,
lib/grpc_kit/session/recv_buffer.rb,
lib/grpc_kit/session/send_buffer.rb,
lib/grpc_kit/grpc/generic_service.rb,
lib/grpc_kit/stream/client_stream.rb,
lib/grpc_kit/stream/server_stream.rb,
lib/grpc_kit/interceptor_registory.rb,
lib/grpc_kit/session/control_queue.rb,
lib/grpc_kit/session/stream_status.rb,
lib/grpc_kit/session/client_session.rb,
lib/grpc_kit/session/server_session.rb,
lib/grpc_kit/session/drain_controller.rb,
lib/grpc_kit/rpcs/client_bidi_streamer.rb,
lib/grpc_kit/rpcs/server_bidi_streamer.rb,
lib/grpc_kit/calls/client_bidi_streamer.rb,
lib/grpc_kit/calls/server_bidi_streamer.rb,
lib/grpc_kit/transport/client_transport.rb,
lib/grpc_kit/transport/server_transport.rb,
lib/grpc_kit/rpc_dispatcher/auto_trimmer.rb,
lib/grpc_kit/rpcs/client_client_streamer.rb,
lib/grpc_kit/rpcs/client_server_streamer.rb,
lib/grpc_kit/rpcs/server_client_streamer.rb,
lib/grpc_kit/rpcs/server_server_streamer.rb,
lib/grpc_kit/calls/client_client_streamer.rb,
lib/grpc_kit/calls/client_server_streamer.rb,
lib/grpc_kit/calls/server_client_streamer.rb,
lib/grpc_kit/calls/server_server_streamer.rb,
lib/grpc_kit/rpcs/client_request_response.rb,
lib/grpc_kit/rpcs/server_request_response.rb,
lib/grpc_kit/calls/client_request_response.rb,
lib/grpc_kit/calls/server_request_response.rb,
lib/grpc_kit/interceptors/client_bidi_streamer.rb,
lib/grpc_kit/interceptors/server_bidi_streamer.rb,
lib/grpc_kit/interceptors/client_client_streamer.rb,
lib/grpc_kit/interceptors/client_server_streamer.rb,
lib/grpc_kit/interceptors/server_client_streamer.rb,
lib/grpc_kit/interceptors/server_server_streamer.rb,
lib/grpc_kit/interceptors/client_request_response.rb,
lib/grpc_kit/interceptors/server_request_response.rb
Defined Under Namespace
Modules: Calls, Errors, Grpc, Interceptors, Rpcs, Session, StatusCodes, Stream, Transport Classes: Call, Client, Codec, GrpcTime, InterceptorRegistry, MethodConfig, RpcDesc, RpcDispatcher, Server
Constant Summary collapse
- VERSION =
'0.5.1'
- MAX_SERVER_RECEIVE_MESSAGE_SIZE =
1024 * 1024 * 4
- MAX_SERVER_SEND_MESSAGE_SIZE =
1024 * 1024 * 4
- MAX_CLIENT_RECEIVE_MESSAGE_SIZE =
1024 * 1024 * 4
- MAX_CLIENT_SEND_MESSAGE_SIZE =
1024 * 1024 * 4
Class Attribute Summary collapse
Class Method Summary collapse
Class Attribute Details
.logger ⇒ Logger
20 21 22 |
# File 'lib/grpc_kit.rb', line 20 def logger @logger ||= Logger.new(STDOUT, level: ENV['GRPC_KIT_LOGLEVEL'] || :info) end |
Class Method Details
.loglevel=(level) ⇒ void
This method returns an undefined value.
26 27 28 |
# File 'lib/grpc_kit.rb', line 26 def loglevel=(level) logger.level = level end |