본문 바로가기
Shoal
Shoal
이전 버전 문서를 보고 있습니다. v1.x최신 문서로 이동 →
아직 번역되지 않은 페이지라 영어 원문을 보여 드립니다.이 페이지 번역하기

레퍼런스

Configuration

Constructor options for shoal-js v1.

JavaScript
new Shoal(key, {
  refresh: 60,        // seconds between polls
  host: "https://api.shoal.dev",
  timeout: 5,         // seconds
  offline: false,     // serve defaults only
});
OptionDefaultDescription
refresh60Polling interval in seconds
hosthttps://api.shoal.devAPI host
timeout5Request timeout in seconds
offlinefalseNever call the network; serve defaults
이 페이지가 도움이 되었나요?

검색어를 입력하세요. 브라우저 안의 로컬 색인에서 찾습니다.

↑ ↓ 이동↵ 열기MiniSearch · local