Home Notices Documents Classes Download Others Rice
Classes  >  bitbankapi  >  bitbankapi(int)
bitbankapi class : bitbankapi(int) fitter

Description

Gets an instance that has been set a timeout span.

Syntax

new bitbankapi(int timeOut)

Arguments

ClassNameDescription
inttimeOutTimeout span. The unit is milliseconds.

Return value

ClassDescription
bitbankapiAn 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.

Links for reference

Copyright © Rice All rights reserved.