mirror of https://github.com/dapr/docs.git
Merge branch 'v0.11' into patch-1
This commit is contained in:
commit
2a6c253098
|
|
@ -49,9 +49,9 @@ Your handler implementation can include any inbound logic, outbound logic, or bo
|
||||||
func GetHandler(metadata Metadata) fasthttp.RequestHandler {
|
func GetHandler(metadata Metadata) fasthttp.RequestHandler {
|
||||||
return func(h fasthttp.RequestHandler) fasthttp.RequestHandler {
|
return func(h fasthttp.RequestHandler) fasthttp.RequestHandler {
|
||||||
return func(ctx *fasthttp.RequestCtx) {
|
return func(ctx *fasthttp.RequestCtx) {
|
||||||
//inboud logic
|
// inboud logic
|
||||||
h(ctx) //call the downstream handler
|
h(ctx) // call the downstream handler
|
||||||
//outbound logic
|
// outbound logic
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
---
|
---
|
||||||
type: docs
|
type: docs
|
||||||
title: "Apple Push Notification Service binding spec"
|
title: "Apple Push Notification Service binding spec"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue