How to change port value of webserver from the EEPROM ?

The following are excerpts form the Web_HolloWorld sample code:

......
static uint8_t ip[] = { 192, 168, 1, 1 };
‪#‎define‬ PREFIX ""
WebServer webserver(PREFIX, 80);
.......

void helloCmd(WebServer &server, WebServer::ConnectionType type, char *, bool){
.......
}

void setup()
{
.......
}

void loop()
{
.......
}

My question is :
WebServer webserver (PREFIX, 80)
How to move the "port 80" to the setup () or other section and re-declare?
Because I want to read port value from the EEPROM before WebServer start.

With a bit of luck this might work

WebServer webserver (PREFIX, EEPROM.read (port_address)) ;

(if the EEPROM library functions early in initialization, that is).

Note you need to define an EEPROM address for the port, and you'll need 2 bytes if you
want ports above 255, and you'll have to setup the EEPROM too.

MarkT:
WebServer webserver (PREFIX, EEPROM.read (port_address)) ;

Thank you very much MarkT, it's work !!!