• rene's avatar
    node: allow websocket and HTTP on the same port (#20810) · 07d909ff
    rene authored
    This change makes it possible to run geth with JSON-RPC over HTTP and
    WebSocket on the same TCP port. The default port for WebSocket
    is still 8546. 
    
        geth --rpc --rpcport 8545 --ws --wsport 8545
    
    This also removes a lot of deprecated API surface from package rpc.
    The rpc package is now purely about serving JSON-RPC and no longer
    provides a way to start an HTTP server.
    07d909ff
Name
Last commit
Last update
..
api.go Loading commit data...
config.go Loading commit data...
config_test.go Loading commit data...
defaults.go Loading commit data...
doc.go Loading commit data...
endpoints.go Loading commit data...
errors.go Loading commit data...
node.go Loading commit data...
node_example_test.go Loading commit data...
node_test.go Loading commit data...
rpcstack.go Loading commit data...
rpcstack_test.go Loading commit data...
service.go Loading commit data...
service_test.go Loading commit data...
utils_test.go Loading commit data...