network

command module
v0.0.0-...-33c01aa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

README

network

this example handles tcp connections and output data into the log stream.

wasm log: new connection!
wasm log: >>>>>> downstream data received >>>>>>
GET /uuid HTTP/1.1
Host: localhost:18000
User-Agent: curl/7.68.0
Accept: */*


wasm log: remote address: 127.0.0.1:8099
wasm log: <<<<<< upstream data received <<<<<<
HTTP/1.1 200 OK
content-length: 13
content-type: text/plain
date: Thu, 01 Oct 2020 09:16:33 GMT
server: envoy

example body

wasm log: downstream connection close!
wasm log: connection complete!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL