omni_httpc
Omnigres HTTP客户端
omnigres · Omnigres HTTP客户端
概览
| ID | 扩展 | 软件包 | 版本 | 类别 | 许可证 | 编程语言 |
|---|---|---|---|---|---|---|
| 2950 | omni_httpc | omnigres | 0.1.11 | FEAT | Apache-2.0 | C |
| 属性 | 可执行文件 | 动态库 | 需要预加载 | 需要建扩展 | 可迁移 | 可信 |
|---|---|---|---|---|---|---|
| --s-d-- | 否 | 是 | 否 | 是 | 否 | 否 |
软件包
| Linux / PG | PG19 | PG18 | PG17 | PG16 | PG15 |
|---|---|---|---|---|---|
| el8.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el8.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el9.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el9.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el10.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| el10.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| d12.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| d12.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| d13.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| d13.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u22.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u22.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u24.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u24.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u26.x86_64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
| u26.aarch64 | N/A | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 | PIGSTY 20260212 |
源码
docs.omnigres.org/omni_httpc/reference/
omnigres-20260212.tar.gz
wheel-0.45.1-py3-none-any.whl
安装
在数据库中创建扩展。
用法
omni_httpc 扩展提供 HTTP/1、HTTP/2 和 HTTP/3(实验性)客户端功能。
准备和执行请求
http_request(url, method, headers, body) – 准备请求。方法默认为 GET。
http_execute(VARIADIC requests) – 执行一个或多个请求。返回 version、status、headers、body 和 error 列。
执行选项
| 选项 | 类型 | 默认值 | 描述 |
|---|---|---|---|
http2_ratio | smallint | 0 | 0-100,HTTP/2 使用百分比 |
http3_ratio | smallint | 0 | 0-100,HTTP/3 使用百分比 |
force_cleartext_http2 | bool | false | 使用 h2c |
first_byte_timeout | int | 5000 | 毫秒 |
timeout | int | 5000 | 毫秒 |
follow_redirects | bool | true | 跟随 HTTP 重定向 |
cacerts | text[] | null | PEM 编码的 CA 证书 |
clientcert | client_certificate | null | PEM 编码的客户端证书 |
http2_ratio 和 http3_ratio 之和不得超过 100。