You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please write an example demonstrating how to use the new Network library setDefault to provide a WebServer instance running on Ethernet that does other activity (maybe an HTTPClient) on the WiFi adapter.
Describe the solution you'd like
Please write an example demonstrating how to use the new Network library setDefault to provide a WebServer instance running on Ethernet that does other activity (maybe an HTTPClient) on the WiFi adapter.
Additional context
This is a new feature in v3.x that is completely undocumented. It would be helpful to have an example that shows how to use it.
The text was updated successfully, but these errors were encountered:
WebServer has been redesigned around the Network library, but it would be nice to get an example of how to do this with something that is not so specific.
@lbernstone the solution that @JAndrassy proposes "should" work. Your setDefault should be STA if you want to use it with other things (and that is the default anyway). If you setDefault to ETH, then all outgoing traffic will go from there
Related area
Ethernet / Network
Hardware specification
all variants
Is your feature request related to a problem?
Please write an example demonstrating how to use the new Network library setDefault to provide a WebServer instance running on Ethernet that does other activity (maybe an HTTPClient) on the WiFi adapter.
Describe the solution you'd like
Please write an example demonstrating how to use the new Network library setDefault to provide a WebServer instance running on Ethernet that does other activity (maybe an HTTPClient) on the WiFi adapter.
Additional context
This is a new feature in v3.x that is completely undocumented. It would be helpful to have an example that shows how to use it.
The text was updated successfully, but these errors were encountered: