Skip to content

docs: refresh stdlib counts; add http server/client demos - #19

Merged
funlang merged 1 commit into
mainfrom
add-http-examples
Oct 16, 2026
Merged

funlang merged 1 commit into
mainfrom
add-http-examples

Conversation

@taadis

@taadis taadis commented Oct 16, 2026

Copy link
Copy Markdown
Collaborator

补充 HTTP 服务端/客户端的文档与示例

  • README 中英两份:标准库计数 59→61(新增 http-server / http-client
    两个模块);「网络」行加入这两个模块;平台拆分惯例注补一句——use 也接受中性名(按平台自动探测
    -darwin/-lnx/-unx 变体)
  • fun/demo 新增两个可运行示例:
    • http-rest.fun:JSON REST 服务端(参数路由、路由组+鉴权中间件、访问日志、启动打印端口)
    • http-client.fun:客户端调用(open-meteo 天气 API,无需 key;JSON 解析取值),也可指向本地的
      http-rest.fun

@funlang
funlang merged commit cf2d6a3 into main Oct 16, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants