Poq.SDK.Node

Home > @poq/sdk > PoqResponse > from

PoqResponse.from() method

Signature:

static from<T, PT = unknown>(response: AbstractResponse | PoqResponse<PT>, content: T | null): PoqResponse<T>;

Parameters

Parameter Type Description
response AbstractResponse | PoqResponse<PT>  
content T | null  

Returns:

PoqResponse<T>