Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attempts to support an arbitrary HTTP method. The request body is placed in a string and an event is raised. This makes the request body available via the roHttpEvent.GetRequestBodyString() method. A response can be sent in the same manner as the AddGetToEvent() method.

SetupDWSLink(

...

title As

...

String) As Boolean

Generates a tab in the Diagnostic Web Server (DWS) that links to files hosted by the roHttpServer instance. The tab will function differently depending on the parameters passed to the method.

...

links directly to the base

...

<ip_address:

...

port> of

...

the roHttpServer instance.

...

  • name: The name of the link on the DWS page
  • url: The url_path of the file hosted by the roHttpServer instance (see the table below for details)

 

The passed string specifies the title of the tab.

Code Block
titleExample
server1.SetupDWSLink("My AWS Link")
server2.SetupDWSLink({ title: "My Other AWS Link", tab: "no" })
server3.SetupDWSLink({ title: "Link> ", link1: { name: "Name 1", url: "/mylink1.jpg" }, link2: { name: "Name 2", url: "/mylink2.jpg" } })

Parameters for "Add" Handler Methods 
Anchor
Add_Handler_Parameters
Add_Handler_Parameters

...