Skip to main content

GrpcClientConfig

Assembly: ServiceStack.GrpcClient.dll
View Source
Declaration
public class GrpcClientConfig : IHasSessionId, IHasBearerToken, IHasVersion

Properties

Channel

View Source
Declaration
public GrpcChannel Channel { get; set; }

ServicesName

View Source
Declaration
public string ServicesName { get; set; }

BaseUri

View Source
Declaration
public string BaseUri { get; set; }

SessionId

View Source
Declaration
public string SessionId { get; set; }

BearerToken

View Source
Declaration
public string BearerToken { get; set; }

RefreshToken

View Source
Declaration
public string RefreshToken { get; set; }

RefreshTokenUri

View Source
Declaration
public string RefreshTokenUri { get; set; }

Version

View Source
Declaration
public int Version { get; set; }

UserName

View Source
Declaration
public string UserName { get; set; }

Password

View Source
Declaration
public string Password { get; set; }

Headers

View Source
Declaration
public Grpc.Core.Metadata Headers { get; set; }

GlobalRequestFilter

View Source
Declaration
public static Action<CallContext> GlobalRequestFilter { get; set; }

RequestFilter

View Source
Declaration
public Action<CallContext> RequestFilter { get; set; }

GlobalResponseFilter

View Source
Declaration
public static Action<ResponseCallContext> GlobalResponseFilter { get; set; }

ResponseFilter

View Source
Declaration
public Action<ResponseCallContext> ResponseFilter { get; set; }

UserAgent

View Source
Declaration
public string UserAgent { get; set; }

Methods

Init()

View Source
Declaration
public CallInvoker Init()
Returns

CallInvoker

Implements