Documentation
¶
Index ¶
- Variables
- func ConvertAuthSessionToCookieString(authSession *types.SnapCookies) string
- func NewCoreHeaders(cookies *types.SnapCookies, tokens *types.SnapTokens, deviceInfo string) http.Header
- func NewDefaultHeaders(cookies *types.SnapCookies, tokens *types.SnapTokens, withAuth bool) http.Header
- func NewServiceHeaders(cookies *types.SnapCookies, tokens *types.SnapTokens, withSnapAgent bool, ...) http.Header
Constants ¶
This section is empty.
Variables ¶
View Source
var SNAPCHAT_USER_AGENT = "SnapchatWeb/12.38.0 PROD (linux 0.0.0; chrome 113.0.0.0)"
View Source
var USER_AGENT = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36"
Functions ¶
func ConvertAuthSessionToCookieString ¶
func ConvertAuthSessionToCookieString(authSession *types.SnapCookies) string
func NewCoreHeaders ¶
func NewCoreHeaders(cookies *types.SnapCookies, tokens *types.SnapTokens, deviceInfo string) http.Header
DO NOT REMOVE THE REFERERS/ORIGINS they are needed
func NewDefaultHeaders ¶
func NewDefaultHeaders(cookies *types.SnapCookies, tokens *types.SnapTokens, withAuth bool) http.Header
DO NOT REMOVE THE REFERERS/ORIGINS they are needed
func NewServiceHeaders ¶
func NewServiceHeaders(cookies *types.SnapCookies, tokens *types.SnapTokens, withSnapAgent bool, withDeviceInfo bool) http.Header
DO NOT REMOVE THE REFERERS/ORIGINS they are needed
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.