UE Http Server 插件说明

简介: UE Http Server 插件说明

1. Create Http Server

创建Http服务器

Port : 监听端口,范围 1 - 65535,要保证系统唯一,不然会监听失败。


2. Bind

绑定网页路由回调。


Target :HttpServer 对象


Http Path: 绑定路径,如 ”/index“


Http Verbs: 需要绑定的方法,支持 GET, POST, PUT, PATCH, DELETE


Http Response : 访问回调的接口函数


回调接口函数说明

IP : 访问用户的 IP (UE >= 5.2才有此参数)


Relative Path : 用户访问地址的相对路径


Headers :用户访问携带的头信息


Query Params : 用户访问携带的参数信息


Body : 用户访问携带的 Body 信息


Return Value :返回给用户的 Body 信息


3.  Break Http Server Headers

头数据结构转换成 Map<String,String> 的数据


4. Find Http Server Header

从头数据结构里面查找某个数据


5. Break Http Server Params

参数数据结构转换成 Map<String,String> 的数据


6. Find Http Server Param

从参数数据结构里面查找某个数据


在代码插件创建的Http Server - 虚幻引擎商城 (unrealengine.com)

https://www.unrealengine.com/marketplace/zh-CN/product/a3e624400e9b41ff89d0ec1a5d69b2cf

相关文章
|
2天前
|
应用服务中间件 nginx
百度搜索:蓝易云【HTTP请求是如何关联Nginx server{}块的?】
总结来说,Nginx中的 `server{}`块用于关联HTTP请求和虚拟主机,通过配置不同的 `server{}`块,可以实现多个域名或IP地址的请求分发和处理。这样,Nginx可以根据不同的请求来提供不同的服务和内容。
39 0
|
7月前
|
Unix Go
Golang 语言中怎么拦截系统信号和优雅退出 http server?
Golang 语言中怎么拦截系统信号和优雅退出 http server?
41 0
|
2天前
|
应用服务中间件 网络安全 nginx
Client sent an HTTP request to an HTTPS server
Client sent an HTTP request to an HTTPS server
9 0
|
2天前
|
开发框架 .NET 数据库连接
解决HTTP错误500.19 - internal server error -内部服务器错误的终极指南
解决HTTP错误500.19 - internal server error -内部服务器错误的终极指南
869 0
|
2天前
|
存储 网络安全 数据安全/隐私保护
Windows Server 2019 IIS HTTPS证书部署流程详解
Windows Server 2019 IIS HTTPS证书部署流程详解
101 0
|
2天前
【web server】HTTP协议如何解析or封装
【web server】HTTP协议如何解析or封装
|
6月前
|
XML 数据格式
svn报错-ra_serf: The server sent a truncated HTTP response body.
svn报错-ra_serf: The server sent a truncated HTTP response body.
157 1
|
6月前
|
Docker 容器
http: server gave HTTP response to HTTPS client解决方案
http: server gave HTTP response to HTTPS client解决方案
169 0
|
2天前
|
前端开发
webpack如何设置devServer启动项目为https协议
webpack如何设置devServer启动项目为https协议
195 0