Methods reference
BSPK Methods (116 methods)
The BSPK component exposes 116 methods organized by category:
Web Routing
- BSPK_WEB_ON_CONNECTION - Main router (handles all web requests)
- BSPK_WEB_Get_Domain - Resolves the domain from the URL
- BSPK_WEB_Get_Page - Resolves the page from the URL
Storage and Configuration
- BSPK_LOAD_STORAGE - Loads settings into Storage
- BSPK_GET_PARAM - Retrieves an application parameter
Users and Security
- BSPK_CONNECT_USER - Authentication + session creation
- BSPK_CHECK_CAPTCHA - Captcha validation
- BSPK_CHECK_UPLOAD_FILES - File extensions whitelist
Translations
- BSPK_Translate - Translates an XLIFF key for the current language
Generation
- BSPK_GENERATE_CSS_CLASS_TW - Generates Tailwind classes from cssProperties
- BSPK_GENERATE_ALL_CSS_CLASS_TW - Generates all classes for a page
- GENERATE_ADMIN_PAGES - Regenerates the binary cache of admin pages
BSPH Methods (17 helpers)
Host database methods (to be created in your project):
- BSPH_WEB_ON_CONNECTION - Hook to intercept web requests
- BSPH_REFRESH_STORAGE - Refreshes Storage
- BSPH_EXECUTE_METHOD - Executes a method from the component
- BSPH_CALL_WORKER - Calls a worker from the component
- BSPH_SET_USER_INFOS - Configures user info in session

