Skip to content

API NetworkTools

Christophe SAUVEUR edited this page Sep 29, 2024 · 2 revisions

NetworkTools Class

chsxf\MFX

final class NetworkTools

Summary

Network management helpers

Since 1.0

Methods

getRemoteIP

public static function getRemoteIP(): string

Retrieves the remote IP address based on the environment variables

Since 1.0

Returns

string the remote IP address or IPv6 localhost if not found


Clone this wiki locally