[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/libs/virtualrest/ -> SwiftVirtualRESTService.php (summary)

Virtual HTTP service client for Swift This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 175 lines (6 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

SwiftVirtualRESTService:: (5 methods):
  __construct()
  needsAuthRequest()
  applyAuthResponse()
  onRequests()
  onResponses()


Class: SwiftVirtualRESTService  - X-Ref

Example virtual rest service for OpenStack Swift

__construct( array $params )   X-Ref

param: array $params Key/value map

needsAuthRequest()   X-Ref

return: int|bool HTTP status on cached failure

applyAuthResponse( array $req )   X-Ref
No description

onRequests( array $reqs, Closure $idGeneratorFunc )   X-Ref
No description

onResponses( array $reqs, Closure $idGeneratorFunc )   X-Ref
No description



Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1