Expand description
Bybit V5 API header key constants for type safety and performance
Constants§
- APPLICATION_
FORM - The value for the application/x-www-form-urlencoded content type.
- APPLICATION_
JSON - The value for the application/json content type.
- CONTENT_
TYPE - The header key for the content type.
- X_
BAPI_ API_ KEY - The header key for the API key.
- X_
BAPI_ RECV_ WINDOW - The header key for the receive window.
- X_
BAPI_ SIGN - The header key for the signature.
- X_
BAPI_ TIMESTAMP - The header key for the timestamp.
Functions§
- application_
form - Returns the
application/x-www-form-urlencodedcontent type as aSmartString. - application_
json - Returns the
application/jsoncontent type as aSmartString. - content_
type - Returns the
Content-Typeheader value as aSmartString. - x_
bapi_ api_ key - Pre-allocated SmartString constants for zero-allocation header creation
- x_
bapi_ recv_ window - Returns the
X-BAPI-RECV-WINDOWheader key as aSmartString. - x_
bapi_ sign - Returns the
X-BAPI-SIGNheader key as aSmartString. - x_
bapi_ timestamp - Returns the
X-BAPI-TIMESTAMPheader key as aSmartString.