UE Http Server Plug -in description

HTTP server supports monitoring Get, Post, Put, Patch, Delete, only supports UF8 string transmission, and returns Body's Content-Type as Application/JSON.

1. Create Http Server

Create an HTTP server.

Port : The scope of the monitoring port, the range is 1-65535, to ensure the unique system, otherwise the monitoring failure will fail.

2. Bind

 Bind webpage routing callback.

Target :httpserver object

Http Path: binding path, such as "/index"

Http Verbs: Methods that need to be binded, support Get, Post, Put, Patch, Delete

Http Response : Access interface function of the callback callback

 Rejuvenation interface function description

IP : Access user's IP (UE >= 5.2)

Relative Path : The relative path of the user access address

Headers :User access head information

Query Params : Parameter information for users access to carry

Body : user access to the body information

Return Value :Body information returned to the user

3.  Break Http Server Headers

Data from head data structures to map <string, string>

4. Find Http Server Header

 Find a certain data from the data structure

5. Break Http Server Params

 Parameter data structures converted to map <string, string> data

6. Find Http Server Param

 Find a certain data from the parameter data structure

猜你喜欢

转载自blog.csdn.net/wmy19890322/article/details/130823569