webdriver
0.51.0
In webdriver::
server
webdriver
::
server
Function
is_host_allowed
Copy item path
source
fn is_host_allowed( server_address: &
SocketAddr
, allow_hosts: &[
Host
], host_header: &
str
, ) ->
bool