Skip to main content

GrpcConfig

Assembly: ServiceStack.GrpcClient.dll
View Source
Declaration
public static class GrpcConfig

Properties

TypeModel

View Source
Declaration
public static RuntimeTypeModel TypeModel { get; }

CompatibilityLevel

View Source
Declaration
public static CompatibilityLevel CompatibilityLevel { get; }

IgnoreTypeModel

View Source
Declaration
public static Func<Type, bool> IgnoreTypeModel { get; set; }

ServiceNameResolver

View Source
Declaration
public static Func<string, string, string> ServiceNameResolver { get; set; }

ServerStreamServiceNameResolver

View Source
Declaration
public static Func<string, string> ServerStreamServiceNameResolver { get; set; }

Methods

DefaultIgnoreTypes(Type)

View Source
Declaration
public static bool DefaultIgnoreTypes(Type type)
Returns

System.Boolean

Parameters
TypeName
System.Typetype

DefaultServiceNameResolver(String, String)

View Source
Declaration
public static string DefaultServiceNameResolver(string verb, string requestName)
Returns

System.String

Parameters
TypeName
System.Stringverb
System.StringrequestName

DefaultServerStreamServiceNameResolver(String)

View Source
Declaration
public static string DefaultServerStreamServiceNameResolver(string requestName)
Returns

System.String

Parameters
TypeName
System.StringrequestName

Register<T>()

View Source
Declaration
public static MetaType Register<T>()
Returns

MetaType

Type Parameters
  • T

GetServiceName(String, String)

View Source
Declaration
public static string GetServiceName(string verb, string requestName)
Returns

System.String

Parameters
TypeName
System.Stringverb
System.StringrequestName

GetServerStreamServiceName(String)

View Source
Declaration
public static string GetServerStreamServiceName(string requestName)
Returns

System.String

Parameters
TypeName
System.StringrequestName

Register(Type)

View Source
Declaration
public static MetaType Register(Type type)
Returns

MetaType

Parameters
TypeName
System.Typetype

HasDynamicAttribute(Type, String)

View Source
Declaration
public static bool HasDynamicAttribute(Type requestType, string action)
Returns

System.Boolean

Parameters
TypeName
System.TyperequestType
System.Stringaction

IsAutoQueryService(Type, String)

View Source
Declaration
public static bool IsAutoQueryService(Type requestType, string action)
Returns

System.Boolean

Parameters
TypeName
System.TyperequestType
System.Stringaction

AutoQueryOrDynamicAttribute(Type, String)

View Source
Declaration
public static bool AutoQueryOrDynamicAttribute(Type requestType, string action)
Returns

System.Boolean

Parameters
TypeName
System.TyperequestType
System.Stringaction