kasada

package
v3.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrScriptPathNotFound = errors.New("hyper-sdk: script path not found")
)

Functions

func GenerateUserAgent added in v3.1.0

func GenerateUserAgent(osVersion, bundleID, appVersion string) string

GenerateUserAgent returns the Kasada mobile user-agent value: the lowercase hex MD5 of "<osVersion> / <bundleID> <appVersion>". On iOS osVersion is UIDevice.systemVersion (e.g. "18.0.1") and bundleID is the app bundle id (e.g. "com.example.app"); on Android osVersion is Build.VERSION.SDK_INT (e.g. "34") and bundleID is the package name. appVersion is the app version string (e.g. "9.15.0").

func ParseScriptPath

func ParseScriptPath(reader io.Reader) (string, error)

ParseScriptPath gets the Kasada ips.js script path from a blocked response body (status code 429)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL