bitbankapi class : bitbankapi(int) fitter
Description
Gets an instance that has been set a timeout span.
Syntax
new bitbankapi(int timeOut)
Arguments
Class | Name | Description |
int | timeOut | Timeout span. The unit is milliseconds. |
Return value
Class | Description |
bitbankapi | An instance that has been set a timeout span. |
Sample code
1: | bitbankapi bitbankapiIns = new bitbankapi(1000); // 1000 millisecond |
Notes
The instance returned by this fitter has been initialized and has been set a timeout span.
The timeout span should be specified in milliseconds.
The default for the timeout span is 100000 milliseconds.
The instance returned by this fitter can access only the public interface of the API.
If you want to access the API's private interface, sets the API key and secret key separately.