Skip to main content

ResponseCallContext

Assembly: ServiceStack.GrpcClient.dll
View Source
Declaration
public struct ResponseCallContext

Properties

Response

View Source
Declaration
public readonly object Response { get; }

Status

View Source
Declaration
public readonly Status Status { get; }

Headers

View Source
Declaration
public readonly Metadata Headers { get; }

HttpStatus

View Source
Declaration
public readonly int HttpStatus { get; }

Methods

GetHeader(String)

View Source
Declaration
public string GetHeader(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetHeader(Metadata, String)

View Source
Declaration
public static string GetHeader(Metadata headers, string name)
Returns

System.String

Parameters
TypeName
Metadataheaders
System.Stringname

GetHeaderBytes(Metadata, String)

View Source
Declaration
public static byte[] GetHeaderBytes(Metadata headers, string name)
Returns

System.Byte[]

Parameters
TypeName
Metadataheaders
System.Stringname

GetHttpStatus(Metadata)

View Source
Declaration
public static int GetHttpStatus(Metadata headers)
Returns

System.Int32

Parameters
TypeName
Metadataheaders