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
Type | Name |
---|---|
System.String | name |
GetHeader(Metadata, String)
View Source
Declaration
public static string GetHeader(Metadata headers, string name)
Returns
System.String
Parameters
Type | Name |
---|---|
Metadata | headers |
System.String | name |
GetHeaderBytes(Metadata, String)
View Source
Declaration
public static byte[] GetHeaderBytes(Metadata headers, string name)
Returns
System.Byte[]
Parameters
Type | Name |
---|---|
Metadata | headers |
System.String | name |
GetHttpStatus(Metadata)
View Source
Declaration
public static int GetHttpStatus(Metadata headers)
Returns
System.Int32
Parameters
Type | Name |
---|---|
Metadata | headers |