Skip to content

Commit b9fe896

Browse files
author
Iovana Pavlovici
authored
Update HTTPGatewayFunctions.md
1 parent bab0441 commit b9fe896

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/HTTPGatewayFunctions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import com.fnproject.fn.api.httpgateway.HTTPGatewayContext;
2323

2424
public class RedirectFunction {
2525

26-
public redirect(HTTPGatewayContext hctx) {
26+
public void redirect(HTTPGatewayContext hctx) {
2727
System.err.println("Request URL is:" + hctx.getRequestURL());
2828
System.err.println("Trace ID" + hctx.getHeaders().get("My-Trace-ID").orElse("N/A"));
2929

0 commit comments

Comments
 (0)