public < Result > Result call ( TDApiRequest apiRequest , Optional < String > apiKeyCache , final Function < InputStream , Result > contentStreamHandler ) { return submitRequest ( apiRequest , apiKeyCache , newByteStreamHandler ( contentStreamHandler ) ) ; }
Submit an API request and returns the byte InputStream . This stream is valid until exiting this function .