diff options
author | Anders Svensson <[email protected]> | 2015-03-21 19:10:19 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2015-03-24 10:57:03 +0100 |
commit | 949cec3fdcf94310aa567921ac2ea37569beb970 (patch) | |
tree | 616dc008095a53094f8d5c56c9eab694a7915289 /lib/common_test/src | |
parent | d6de8b13a37bc454f6d5a425cdaff6a114b4168c (diff) | |
download | otp-949cec3fdcf94310aa567921ac2ea37569beb970.tar.gz otp-949cec3fdcf94310aa567921ac2ea37569beb970.tar.bz2 otp-949cec3fdcf94310aa567921ac2ea37569beb970.zip |
Let examples override default service options
To make them a bit more flexible. Can now do things like this:
server:start([{'Product-Name', "Bob"}]),
server:listen({tcp, [{capx_timeout, 2000}]})
Beware that the latter is completely different from this:
server:listen(tcp, [{capx_timeout, 2000}])
Diffstat (limited to 'lib/common_test/src')
0 files changed, 0 insertions, 0 deletions