Skip to content

mchandramouli/http-headers-wasm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-headers-wasm

Sample envoy http filter using a wasm module

This code uses proxy-wasm-go-sdk and tinygo to build the wasm module

Building the module

Make will launch a docker container with tinygo to build and run unit tests

$ make 

Testing locally

One can test this locally using one of the two methods

Using docker

$ make run-with-docker

Using docker-compose

$ docker-compose -f test/docker-compose.yaml --project-directory $(pwd) up

Both of these expose the proxy in port 8000. Try curl http://localhost:8000 -v and watch for response headers and proxy logs.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published