Versions in this module Expand all Collapse all v0 v0.0.1 Feb 10, 2024 Changes in this version + var NoResponseSendError = errors.New("no response send") + func InstallModule() + func JsConfigureServer(serverPort int, params libHttpServer.HttpServerStartParams) bool + func JsGetHost(serverPort int, hostName string) *progpAPI.SharedResource + func JsRequestCookie(resHttpRequest *progpAPI.SharedResource, cookieName string) (error, map[string]any) + func JsRequestCookies(resHttpRequest *progpAPI.SharedResource) (error, map[string]map[string]any) + func JsRequestHeaders(resHttpRequest *progpAPI.SharedResource) (error, map[string]string) + func JsRequestHost(resHttpRequest *progpAPI.SharedResource) (error, string) + func JsRequestIP(resHttpRequest *progpAPI.SharedResource) (error, string) + func JsRequestMethod(resHttpRequest *progpAPI.SharedResource) (error, string) + func JsRequestPath(resHttpRequest *progpAPI.SharedResource) (error, string) + func JsRequestPostArgs(resHttpRequest *progpAPI.SharedResource) (error, map[string]any) + func JsRequestQueryArgs(resHttpRequest *progpAPI.SharedResource) (error, map[string]string) + func JsRequestReadFormFileAsync(resHttpRequest *progpAPI.SharedResource, fieldName string, fileOffset int, ...) + func JsRequestRemainingSegments(resHttpRequest *progpAPI.SharedResource) (error, []string) + func JsRequestSaveFormFileAsync(resHttpRequest *progpAPI.SharedResource, fieldName string, fileOffset int, ...) + func JsRequestSetCookie(resHttpRequest *progpAPI.SharedResource, key string, value string, ...) error + func JsRequestSetHeader(resHttpRequest *progpAPI.SharedResource, key string, value string) error + func JsRequestURI(resHttpRequest *progpAPI.SharedResource) (error, string) + func JsRequestWildcards(resHttpRequest *progpAPI.SharedResource) (error, []string) + func JsReturnString(resHttpRequest *progpAPI.SharedResource, responseCode int, contentType string, ...) error + func JsStartServer(serverPort int) error + func JsVerbWithFunction(resHost *progpAPI.SharedResource, verb string, requestPath string, ...) error Other modules containing this package github.com/progpjs/modules/v2