2017 © Pedro Peláez
 

symfony-bundle deferred-request-bundle

Utilities for deferring request processing to some point in the future

image

zeroem/deferred-request-bundle

Utilities for deferring request processing to some point in the future

  • Tuesday, June 26, 2012
  • by zeroem
  • Repository
  • 1 Watchers
  • 4 Stars
  • 6 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ZeroemDeferredRequestBundle

Provides utilities to mark controller actions as deferred. By simply adding the @Defer annotation to any Controller or Action, the request will be intercepted during the KernelEvents::CONTROLLER phase of the HttpKernel. At this point in time, the Request object will be serialized and stored in the database for later processing via the deferred-request:process console command., (*1)

When a Request is deferred, an appropriate HTTP 202 Response is returned containing : - A Content-Location Header indicating where the deferred Response will be found - A Link Header indicating where the status of the deferred Request may be monitored, (*2)

Examples

Defer a single controller action

// ...

/**
 * @Defer
 */
public function indexAction() 
{

}

// ...

Defer all actions on a controller

/**
 * @Defer
 */
class FooController extends Controller
{
   // Actions...
}

The Versions

26/06 2012

dev-remove-implementations

dev-remove-implementations

Utilities for deferring request processing to some point in the future

  Sources   Download

MIT

The Requires

 

The Development Requires

  • deferred-request-dev-package *

by Darrell Hamilton

bundle http request defer

26/06 2012

dev-master

9999999-dev

Utilities for deferring request processing to some point in the future

  Sources   Download

MIT

The Requires

 

by Darrell Hamilton

bundle request defer