本文へ移動
Senri
API リファレンス

/ip

@senrijs/senri/ip。接続元の IP

接続元の IP。

import { ... } from "@senrijs/senri/ip";

関数とクラス

名前すること
getIp(c)ランタイムが渡す接続元の IP
trustProxy(options)プロキシの後ろで、クライアントの IP を返す関数を作る

型

TrustProxyOptions

名前

型

ソース: src/ip.ts

このページの内容