public class StitchRequestClient extends Object
| Constructor and Description |
|---|
StitchRequestClient(String baseUrl,
Transport transport,
Long defaultRequestTimeout)
Constructs a StitchRequestClient with the provided parameters.
|
| Modifier and Type | Method and Description |
|---|---|
Response |
doRequest(StitchRequest stitchReq)
Performs a request against Stitch app servers.
|
public StitchRequestClient(String baseUrl, Transport transport, Long defaultRequestTimeout)
baseUrl - the base URL of the Stitch server to which this client will make requests.transport - the underlying Transport that this client will use to make requests.defaultRequestTimeout - the number of milliseconds the client should wait for a response
by default from the server before failing with an error.public Response doRequest(StitchRequest stitchReq)
stitchReq - the request to perform.Response to the request.