Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HttpOptions

Hierarchy

  • HttpOptions

Index

Properties

apiUrl

apiUrl: string

Pi Network Platform API base URL.

defaultvalue

'https://socialchain.app/'

http2

http2: boolean

Whether or not HTTP/2 should be used instead of HTTP/1.1.

defaultvalue

true

requestTimeout

requestTimeout: number

The timeout of http requests, in milliseconds.

defaultvalue

20000

retryLimit

retryLimit: number

The number of times to retry a failed http request.

defaultvalue

2

Generated using TypeDoc