HttpExtension

Http protocol related components in Gxf.

  • UUID: 22a21c97-f20b-4c03-b277-6e6f52303328

  • Version: 0.3.0

  • Author: NVIDIA

  • License: LICENSE

Interfaces

nvidia::gxf::HttpClient

Interface for basic http client that works with http server inherited from IPCServer

  • Component ID: fb4e20e4-15c8-4cb4-ad87-9c161d326748

  • Base Type: nvidia::gxf::Component

Components

nvidia::gxf::HttpServer

A light-weight http API server

  • Component ID: 70089546-8a59-442e-b91e-7708f2640fca

  • Base Type: nvidia::gxf::IPCServer

Parameters

port

HTTP port for listening.

  • Flags: GXF_PARAMETER_FLAGS_NONE

  • Type: GXF_PARAMETER_TYPE_INT32

  • Default: 8000


remote_access

Allow access from a remote client.

  • Flags: GXF_PARAMETER_FLAGS_NONE

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: false

nvidia::gxf::CppRestHttpClient

A light-weight http client implementation.

  • Component ID: 562dae41-5e70-4495-a7e8-d196cedf3f9f

  • Base Type: nvidia::gxf::HttpClient

Parameters

server_ip_port

Server IP and Port.

  • Flags: GXF_PARAMETER_FLAGS_NONE

  • Type: GXF_PARAMETER_TYPE_STRING

  • Default: ‘’


use_https

Use TLS(SSL). If true, protocol is https. Otherwise protocol is http.

  • Flags: GXF_PARAMETER_FLAGS_NONE

  • Type: GXF_PARAMETER_TYPE_BOOL

  • Default: false