Table of Contents

Class CarrotResponse

Namespace
CarrotMQ.Core
Assembly
CarrotMQ.Core.dll

Represents the response of a call sent over CarrotClient.

public class CarrotResponse
Inheritance
CarrotResponse
Derived
Inherited Members

Constructors

CarrotResponse()

public CarrotResponse()

Properties

Content

The response of the request.

public object? Content { get; set; }

Property Value

object

Error

Detailed error object

public CarrotError? Error { get; set; }

Property Value

CarrotError

Request

The original request which generated this response

public object? Request { get; set; }

Property Value

object

StatusCode

The status code. They are inlined to the typical http status codes (e.g. 500). Helper constants are defined in CarrotStatusCode

public int StatusCode { get; set; }

Property Value

int