Description: HTTPHandler
Keywords: lib

### 6.28.2.10 HTTPHandler

The `HTTPHandler` class supports sending logging messages to a Web server, using either "`GET`" or "`POST`" semantics.

class `HTTPHandler`( | host, url[, method])

  Returns a new instance of the `HTTPHandler` class. The instance is initialized with a host address, url and HTTP method. If no method is specified, "`GET`" is used.

`emit`( | record)

  Sends the record to the Web server as an URL-encoded dictionary.