Skip to main content Skip to complementary content

Response Class

Namespace: Qlik.Sense.JsonRpc
Assembly: Qlik.Sense.JsonRpc.dll

Class representing a response received on a web socket connection.

Inheritance

  • System.Object

Syntax

public class Response

Methods

Name Description
Result<T>(String, Func<JToken, T>)

Gets custom result from a json response. Wrapper for Value<T>(String, Func<JToken, T>) that assumes the property to deserialize is found in the result part of the response.

ResultAsync<T>(String, Func<JToken, Task<T>>)

Gets custom result from a json response. Wrapper for Value<T>(String, Func<JToken, T>) that assumes the property to deserialize is found in the result part of the response asynchronously.

Return<T>(Func<JToken, T>)

Deserializes the return value of an RPC response. Equivalent to calling Result<T>(String, Func<JToken, T>) with parameter "name" set to "qReturn".

ReturnAsync<T>(Func<JToken, Task<T>>)

Deserializes the return value of an RPC response. Equivalent to calling ResultAsync<T>(String, Func<JToken, Task<T>>) with parameter "name" set to "qReturn".

ToString()

Returns a string that represents the current object.

ToString(Formatting)

Returns a string that represents the current object.

ToString(Formatting, JsonConverter[])

Returns a string that represents the current object.

Value<T>(String, Func<JToken, T>)

Gets custom value from a json response.

ValueAsync<T>(String, Func<JToken, Task<T>>)

Gets custom value from a json response asynchronously.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!