rpc.php 947 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <?php
  2. return array(
  3. 'client' => [
  4. /**
  5. * Server URL
  6. */
  7. 'url' => env('RPC_URL', 'http://market.cc/rpc'),
  8. /**
  9. * HTTP client timeout
  10. */
  11. 'timeout' => env('RPC_TIMEOUT', 15),
  12. /**
  13. * Custom HTTP headers
  14. */
  15. 'headers' => array(),
  16. /**
  17. * Username for authentication
  18. */
  19. 'username' => false,
  20. 'password' => null,
  21. /**
  22. * Enable debug output to the php error log
  23. */
  24. 'debug' => env('RPC_DEBUG', false),
  25. /**
  26. * SSL certificates verification
  27. */
  28. 'ssl_verify_peer' => env('RPC_SSL', true),
  29. /**
  30. * Methods to Cache
  31. * '*' to allow all, and 'method_name' to single method
  32. */
  33. 'cache' => env('RPC_CACHE', null),
  34. 'cache_duration' => env('RPC_CACHE_TIME', 15),
  35. ],
  36. 'server' => [
  37. ],
  38. );