zaifapi class : zaifapi(int) fitter

Description

Gets an instance that has been set a timeout span.

Syntax

new zaifapi(int timeOut)

Arguments

ClassNameDescription
inttimeOutTimeout span. The unit is milliseconds.

Return value

ClassDescription
zaifapiAn instance that has been set a timeout span.

Sample code

1:

zaifapi zaifapiIns = new zaifapi(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 © Cooker All rights reserved.