Advertisement
Hauke

SyncHTTP Include

Aug 11th, 2013
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.26 KB | None | 0 0
  1. // SyncHTTP 1.0 include by Hauke Marquardt alias |-|auke - 11.08.2013
  2. // Developed with the awesome pawn IDE: PAWNit 0.8.9 Beta
  3. /*
  4. License:
  5.         This code is free: you can redistribute it and/or modify
  6.         it under the terms of the GNU General Public License as published by
  7.         the Free Software Foundation, either version 3 of the License, or
  8.         (at your option) any later version.
  9.  
  10.         This code is distributed in the hope that it will be useful,
  11.         but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.         GNU General Public License for more details.
  14.  
  15.         You should have received a copy of the GNU General Public License
  16.         along with this program.  If not, see <http://www.gnu.org/licenses/>.
  17.         You are not allowed to copy any code from this, into your code without
  18.         naming authors name in credits!
  19.  */
  20.  
  21. #if defined SYNC_HTTP_INCLUDED
  22.     #endinput
  23. #endif
  24.  
  25. #if !defined HTTP_GET
  26.     #define HTTP_GET                        1
  27. #endif
  28. #if !defined HTTP_POST
  29.     #define HTTP_POST                       2
  30. #endif
  31. native SynchronizedHTTP ( URL[ ] , Post[ ] , const Result[] , Length , Method = HTTP_POST , Timeout = 5 , EnableDebug = false );
  32. #define SYNC_HTTP_INCLUDED
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement