Example: /Main/Web Loadbalancer Example/MyApp

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

/Main/Web Loadbalancer Example/MyApp


Required plugins for this example:

You find this example project in your Plugins Download as a Xojo project file within the examples folder: /Main/Web Loadbalancer Example/MyApp

This example is the version from Mon, 6th Nov 2022.

Project "MyApp.xojo_binary_project"
Class App Inherits WebApplication
EventHandler Function HandleURL(Request As WebRequest, Response As WebResponse) As Boolean #Pragma BackgroundTasks False If Request.Path = "Status" Then Dim j As New JSONItem Dim a As app = app j.Value("MemoryUsed") = runtime.MemoryUsed j.Value("ObjectCount") = runtime.ObjectCount j.Value("SessionCount") = a.SessionCount j.Value("Name") = a.ExecutableFile.Name Response.write j.ToString Response.Status = 200 Return True End If End EventHandler
End Class
End Project

See also:

The items on this page are in the following plugins: MBS Main Plugin.


💬 Ask a question or report a problem