Skip to main content
Latest
method ServiceRequest.prototype.postProcess
import { ServiceRequest } from "https://deno.land/x/steam_trader@v0.4.0/src/steam_api/requests/service_request.ts";

a method that if defined, will be called with JSON-parsed result of the request. can be async.

if returns a value that is not undefined, the service response will be replaced by the returned value. otherwise original response will be used.

Parameters

response: unknown

Returns

unknown | Promise<unknown>