HttpExtension#

Http protocol related components in Gxf.

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

  • Version: 0.5.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::HttpIPCClient#

IPC Client implementation based on Http

  • Component ID: 695479d5-28db-4a4e-bbbd-a2b1af390297

  • Base Type: nvidia::gxf::IPCClient

Parameters#

port

Http IPC server port to send request to.

  • Flags: GXF_PARAMETER_FLAGS_NONE

  • Type: GXF_PARAMETER_TYPE_UINT32

  • Default: 50000


server_ip_address

Http IPC server ip address to send request to.

  • Flags: GXF_PARAMETER_FLAGS_NONE

  • Type: GXF_PARAMETER_TYPE_STRING

  • Default: 0.0.0.0


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


content-type

content-type in Http.

  • Flags: GXF_PARAMETER_FLAGS_NONE

  • Type: GXF_PARAMETER_TYPE_STRING

  • Default: 0.0.0.0

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