Interface StitchRequestClient

    • Method Detail

      • doRequest

        Response doRequest​(StitchRequest stitchReq)
        Performs a request against some Stitch server. Throws a Stitch specific exception if the request fails.
        Parameters:
        stitchReq - the request to perform.
        Returns:
        a Response to the request.
      • doStreamRequest

        EventStream doStreamRequest​(StitchRequest stitchReq)
        Performs a streaming request against some Stitch server. Throws a Stitch-specific exception if the request fails.
        Parameters:
        stitchReq - the request to perform.
        Returns:
        an EventStream that will provide response events.
      • close

        void close()
        Closes the underlying transport.