Skip to content

Commit

Permalink
Update README.md with UrlRewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
danielpeintner authored Sep 21, 2023
1 parent 227be53 commit 757c7f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/binding-http/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ The protocol binding can be configured using his constructor or trough servient
serverCert?: string; // HTTPs server certificate file
security?: TD.SecurityScheme[]; // A list of possible security schemes to be used by things exposed by this servient.
baseUri?: string // A Base URI to be used in the TD in cases where the client will access a different URL than the actual machine serving the thing. [See Using BaseUri below]
urlRewrite?: Record<string, string> // A record to allow for other URLs pointing to existing endpoints, e.g., { "/myroot/myUrl": "/test/properties/test" }
middleware?: MiddlewareRequestHandler; // the MiddlewareRequestHandler function. See [Adding a middleware] section below.
}
```
Expand Down

0 comments on commit 757c7f7

Please sign in to comment.