View source
class ServerMethods
package haxe.display
import haxe.display.Server
Available on all platforms
Static variables
staticinlineread onlyConfigure:HaxeRequestMethod<ConfigureParams, Response<NoData>> = new HaxeRequestMethod<ConfigureParams,Response<NoData>>("server/configure")
staticinlineread onlyContextMemory:HaxeRequestMethod<ContextParams, Response<HaxeContextMemoryResult>> = new HaxeRequestMethod<ContextParams,Response<HaxeContextMemoryResult>>("server/memory/context")
staticinlineread onlyContexts:HaxeRequestMethod<NoData, Response<Array<HaxeServerContext>>> = new HaxeRequestMethod<NoData,Response<Array<HaxeServerContext>>>("server/contexts")
staticinlineread onlyFiles:HaxeRequestMethod<ContextParams, Response<Array<JsonServerFile>>> = new HaxeRequestMethod<ContextParams,Response<Array<JsonServerFile>>>("server/files")
staticinlineread onlyInvalidate:HaxeRequestMethod<FileParams, Response<NoData>> = new HaxeRequestMethod<FileParams,Response<NoData>>("server/invalidate")
staticinlineread onlyMemory:HaxeRequestMethod<NoData, Response<HaxeMemoryResult>> = new HaxeRequestMethod<NoData,Response<HaxeMemoryResult>>("server/memory")
staticinlineread onlyModule:HaxeRequestMethod<ModuleParams, Response<JsonModule>> = new HaxeRequestMethod<ModuleParams,Response<JsonModule>>("server/module")
staticinlineread onlyModuleCreated:HaxeRequestMethod<FileParams, Response<NoData>> = new HaxeRequestMethod<FileParams,Response<NoData>>("server/moduleCreated")
staticinlineread onlyModuleMemory:HaxeRequestMethod<ModuleParams, Response<HaxeModuleMemoryResult>> = new HaxeRequestMethod<ModuleParams,Response<HaxeModuleMemoryResult>>("server/memory/module")
staticinlineread onlyModules:HaxeRequestMethod<ContextParams, Response<Array<String>>> = new HaxeRequestMethod<ContextParams,Response<Array<String>>>("server/modules")
staticinlineread onlyReadClassPaths:HaxeRequestMethod<NoData, Response<{files:Null<Int>}>> = new HaxeRequestMethod<NoData,Response<{ var ?files : Int}>>("server/readClassPaths")
This request is sent from the client to Haxe to explore the class paths. This effectively creates a cache for toplevel completion.