Manually provide a one-time seed to initialize the PRNG.
Defined in header
void seed_prng( std::seed_seq& ss);
This function invokes the specified seed sequence to produce a seed suitable
for use with the pseudo-random number generator used to create masks and
perform WebSocket protocol handshakes. If a seed is not manually provided,
the implementation will perform a one-time seed generation using
This function may be used when the application runs in an environment where
the random device is unreliable or does not provide sufficient entropy.
This function may not be called after any websocket
stream objects have been constructed.
A reference to a