<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>API on BvBeJ的小站</title><link>https://www.bvbej.com/tags/api/</link><description>Recent content in API on BvBeJ的小站</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Wed, 30 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://www.bvbej.com/tags/api/feed.xml" rel="self" type="application/rss+xml"/><item><title>TypeScript API Client：统一请求边界和错误语义</title><link>https://www.bvbej.com/posts/typescript-api-client/</link><pubDate>Wed, 30 Sep 2026 00:00:00 +0000</pubDate><guid>https://www.bvbej.com/posts/typescript-api-client/</guid><description>客户端统一处理超时、取消、解析和错误，领域层只暴露稳定的方法和错误分类。</description></item><item><title>TypeScript 运行时边界：类型声明不能替代输入校验</title><link>https://www.bvbej.com/posts/typescript-runtime-boundary/</link><pubDate>Sun, 20 Sep 2026 00:00:00 +0000</pubDate><guid>https://www.bvbej.com/posts/typescript-runtime-boundary/</guid><description>HTTP、消息和存储数据进入类型系统前都不可信，边界必须执行 schema 校验。</description></item><item><title>Rust 借用 API 设计：把生命周期约束藏在正确边界</title><link>https://www.bvbej.com/posts/rust-borrowing-api-design/</link><pubDate>Sat, 12 Sep 2026 00:00:00 +0000</pubDate><guid>https://www.bvbej.com/posts/rust-borrowing-api-design/</guid><description>公共 API 只暴露真实需要的借用关系，避免为了少一次分配泄漏内部生命周期。</description></item></channel></rss>