mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-03 20:07:36 +03:00
platform: Export NeedWIFIState
for Android
This commit is contained in:
parent
bca0b86549
commit
5583e01c99
3 changed files with 15 additions and 6 deletions
|
@ -33,6 +33,8 @@ type Router interface {
|
|||
|
||||
RuleSet(tag string) (RuleSet, bool)
|
||||
|
||||
NeedWIFIState() bool
|
||||
|
||||
Exchange(ctx context.Context, message *mdns.Msg) (*mdns.Msg, error)
|
||||
Lookup(ctx context.Context, domain string, strategy dns.DomainStrategy) ([]netip.Addr, error)
|
||||
LookupDefault(ctx context.Context, domain string) ([]netip.Addr, error)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue