Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 9bc9e32

Browse files
author
Wim Spaargaren
committed
feat: support proxy set buffer bytes
1 parent a5a27d5 commit 9bc9e32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

proxywasm/rawhostcall/rawhostcall.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ func ProxySetHeaderMapPairs(mapType types.MapType, mapData *byte, mapSize int) t
6666
//export proxy_get_buffer_bytes
6767
func ProxyGetBufferBytes(bt types.BufferType, start int, maxSize int, returnBufferData **byte, returnBufferSize *int) types.Status
6868

69+
//export proxy_set_buffer_bytes
70+
func ProxySetBufferBytes(bt types.BufferType, start int, maxSize int, bufferData *byte, bufferSize int) types.Status
71+
6972
//export proxy_continue_stream
7073
func ProxyContinueStream(streamType types.StreamType) types.Status
7174

0 commit comments

Comments
 (0)