Versions Compared

Key

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

...

To be able to use the HTTP/2 Client agent, this processing agent must be preceded by an Analysis agent in the workflow that you create. The APL code must include a RequestCycle object as shown in the example APL code below. In the APL code, you must ensure that req.secure is set to true and that req.httpVersion is set to http2.

Code Block
consume {
    http.RequestCycle req = udrCreate(http.RequestCycle);
    req.host = "myserver";
    req.port = "8181";
    req.secure = true;
    req.httpVersion = "http2";
    req.path = "/nf-instance";
    req.method = "GET";
    debug("sending request"+req);
    udrRoute(req);
}

Prerequisites

The reader of this information should be familiar with:


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse

This section contains the following subsections: