gRPC  0.6.0
 All Classes Namespaces Functions Variables Enumerations Properties Pages
Namespaces | Classes | Enumerations | Functions
Package Grpc.Core

Namespaces

package  Internal
 
package  Tests
 
package  Utils
 

Classes

class  AsyncClientStreamingCall< TRequest, TResponse >
 Return type for client streaming calls. More...
 
class  AsyncDuplexStreamingCall< TRequest, TResponse >
 Return type for bidirectional streaming calls. More...
 
class  AsyncServerStreamingCall< TResponse >
 Return type for server streaming calls. More...
 
class  Call< TRequest, TResponse >
 Abstraction of a call to be invoked on a client. More...
 
class  Calls
 Helper methods for generated client stubs to make RPC calls.
 
class  Channel
 gRPC Channel More...
 
class  ChannelArgs
 gRPC channel options. More...
 
class  Credentials
 Client-side credentials. Used for creation of a secure channel. More...
 
class  SslCredentials
 Client-side SSL credentials. More...
 
class  GrpcEnvironment
 Encapsulates initialization and shutdown of gRPC library. More...
 
interface  IAsyncStreamReader< T >
 A stream of messages to be read. More...
 
interface  IAsyncStreamWriter< T >
 A writable stream of messages. More...
 
interface  IClientStreamWriter< T >
 Client-side writable stream of messages with Close capability. More...
 
interface  IServerStreamWriter< T >
 A writable stream of messages that is used in server-side handlers. More...
 
struct  Marshaller< T >
 For serializing and deserializing messages. More...
 
class  Marshallers
 Utilities for creating marshallers.
 
class  Metadata
 gRPC call metadata. More...
 
class  Method< TRequest, TResponse >
 A description of a service method. More...
 
class  OperationFailedException
 Thrown when gRPC operation fails. More...
 
class  RpcException
 Thrown when remote procedure call fails. More...
 
class  Server
 A gRPC server. More...
 
class  ServerCallContext
 Context for a server-side call. More...
 
class  ServerCredentials
 Server side credentials. More...
 
class  KeyCertificatePair
 Key certificate pair (in PEM encoding). More...
 
class  SslServerCredentials
 Server-side SSL credentials. More...
 
class  ServerServiceDefinition
 Mapping of method names to server call handlers. More...
 
struct  Status
 Represents RPC result. More...
 
class  AbstractStub< TStub, TConfig >
 Base for client-side stubs. More...
 
class  StubConfiguration
 

Enumerations

enum  MethodType { Unary, ClientStreaming, ServerStreaming, DuplexStreaming }
 Method types supported by gRPC. More...
 
enum  StatusCode {
  OK = 0, Cancelled = 1, Unknown = 2, InvalidArgument = 3,
  DeadlineExceeded = 4, NotFound = 5, AlreadyExists = 6, PermissionDenied = 7,
  Unauthenticated = 16, ResourceExhausted = 8, FailedPrecondition = 9, Aborted = 10,
  OutOfRange = 11, Unimplemented = 12, Internal = 13, Unavailable = 14,
  DataLoss = 15
}
 Result of a remote procedure call. Based on grpc_status_code from grpc/status.h More...
 

Functions

delegate Task< TResponse > UnaryServerMethod< TRequest, TResponse > (ServerCallContext context, TRequest request)
 Server-side handler for unary call. More...
 
delegate Task< TResponse > ClientStreamingServerMethod< TRequest, TResponse > (ServerCallContext context, IAsyncStreamReader< TRequest > requestStream)
 Server-side handler for client streaming call. More...
 
delegate Task ServerStreamingServerMethod< TRequest, TResponse > (ServerCallContext context, TRequest request, IServerStreamWriter< TResponse > responseStream)
 Server-side handler for server streaming call. More...
 
delegate Task DuplexStreamingServerMethod< TRequest, TResponse > (ServerCallContext context, IAsyncStreamReader< TRequest > requestStream, IServerStreamWriter< TResponse > responseStream)
 Server-side handler for bidi streaming call. More...
 
delegate void HeaderInterceptorDelegate (Metadata.Builder headerBuilder)
 

Enumeration Type Documentation

Method types supported by gRPC.

Result of a remote procedure call. Based on grpc_status_code from grpc/status.h

Function Documentation

delegate Task<TResponse> Grpc.Core.ClientStreamingServerMethod< TRequest, TResponse > ( ServerCallContext  context,
IAsyncStreamReader< TRequest >  requestStream 
)

Server-side handler for client streaming call.

Type Constraints
TRequest :class 
TResponse :class 
delegate Task Grpc.Core.DuplexStreamingServerMethod< TRequest, TResponse > ( ServerCallContext  context,
IAsyncStreamReader< TRequest >  requestStream,
IServerStreamWriter< TResponse >  responseStream 
)

Server-side handler for bidi streaming call.

Type Constraints
TRequest :class 
TResponse :class 
delegate Task Grpc.Core.ServerStreamingServerMethod< TRequest, TResponse > ( ServerCallContext  context,
TRequest  request,
IServerStreamWriter< TResponse >  responseStream 
)

Server-side handler for server streaming call.

Type Constraints
TRequest :class 
TResponse :class 
delegate Task<TResponse> Grpc.Core.UnaryServerMethod< TRequest, TResponse > ( ServerCallContext  context,
TRequest  request 
)

Server-side handler for unary call.

Type Constraints
TRequest :class 
TResponse :class