-
Notifications
You must be signed in to change notification settings - Fork 239
Expand file tree
/
Copy pathHttpHeader.java
More file actions
25 lines (22 loc) · 798 Bytes
/
HttpHeader.java
File metadata and controls
25 lines (22 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.bitget.openapi.common.constant;
public class HttpHeader {
/**
* baseUrl must end in /
*/
public static final String BASE_URL = "https://api.bitget.com/";
/**
* http request timeout
*/
public static final Long TIME_OUT = 30L;
/**
* header parameter
*/
public static final String ACCESS_SIGN = "ACCESS-SIGN";
public static final String ACCESS_TIMESTAMP = "ACCESS-TIMESTAMP";
public static final String ACCESS_KEY = "ACCESS-KEY";
public static final String ACCESS_PASSPHRASE = "ACCESS-PASSPHRASE";
public static final String CONTENT_TYPE = "Content-Type";
public static final String LOCALE = "locale";
public static final String COOKIE = "Cookie";
public static final String PAPTRADING = "paptrading";
}