콘텐츠로 이동

LocalhostPlugin

이 콘텐츠는 아직 번역되지 않았습니다.

Namespace NetWiv.Plugin.Localhost · Assembly NetWiv.Plugin.Localhost

public sealed class LocalhostPlugin : IPlugin

Serves bundled frontend assets over HTTP on a selected local port.

public LocalhostPlugin(ushort port, string host = "localhost", Action<LocalhostRequest, LocalhostResponse> onRequest = null);

Serves bundled frontend assets over HTTP on a selected local port.

public int BoundPort { get; }
public string Name { get; }
public void Dispose();
public void Initialize(PluginContext context);
public void Setup(AppHandle app);