browserrelay

package
v0.14.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Addr            string
	RelayToken      string
	AllowQueryToken bool
	OriginAllowlist []string
}

Options configures relay server behavior.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server provides OpenClaw-style extension relay endpoints.

func New

func New(opts Options) (*Server, error)

func (*Server) Addr

func (s *Server) Addr() string

func (*Server) AttachedTabs

func (s *Server) AttachedTabs() int

func (*Server) AuthRequired

func (s *Server) AuthRequired() bool

func (*Server) CDPWebSocketURL

func (s *Server) CDPWebSocketURL() string

func (*Server) Close

func (s *Server) Close(ctx context.Context) error

func (*Server) ExtensionConnected

func (s *Server) ExtensionConnected() bool

func (*Server) JSONAuthRequired

func (s *Server) JSONAuthRequired() bool

func (*Server) RelayToken

func (s *Server) RelayToken() string

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL