Browse Source

[neko][php] deprecate neko.Web and php.Web (#9153)

Aleksandr Kuzmenko 5 years ago
parent
commit
fd0aef5a60
2 changed files with 2 additions and 0 deletions
  1. 1 0
      std/neko/Web.hx
  2. 1 0
      std/php/Web.hx

+ 1 - 0
std/neko/Web.hx

@@ -28,6 +28,7 @@ import haxe.ds.List;
 	This class is used for accessing the local Web server and the current
 	This class is used for accessing the local Web server and the current
 	client request and information.
 	client request and information.
 **/
 **/
+@:deprecated('neko.Web is deprecated and will be removed from standard library in Haxe 4.2')
 class Web {
 class Web {
 	/**
 	/**
 		Returns the GET and POST parameters.
 		Returns the GET and POST parameters.

+ 1 - 0
std/php/Web.hx

@@ -32,6 +32,7 @@ import php.SuperGlobal.*;
 	This class is used for accessing the local Web server and the current
 	This class is used for accessing the local Web server and the current
 	client request and information.
 	client request and information.
 **/
 **/
+@:deprecated('php.Web is deprecated and will be removed from standard library in Haxe 4.2. See php.SuperGlobal and php.Global for alternatives.')
 class Web {
 class Web {
 	/**
 	/**
 		Returns the GET and POST parameters.
 		Returns the GET and POST parameters.