You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
my $app = sub {
my $env = shift;
# Delays response until it fetches content from the network
return sub {
my $responder = shift;
fetch_content_from_server(sub {
my $content = shift;
$responder->([ 200, $headers, [ $content ] ]);
});
};
};
The docs should be updated to clarify which of the 3 levels of anonymous subs that $headers is expected to originate in.
The text was updated successfully, but these errors were encountered:
The Streaming section includes this code example:
The docs should be updated to clarify which of the 3 levels of anonymous subs that
$headers
is expected to originate in.The text was updated successfully, but these errors were encountered: