trait Https extends Object
HTTPS is the HTTP protocol over TLS/SSL. In Node.js this is implemented as a separate module.
- Annotations
- @JSType() @native()
- See also
https://nodejs.org/api/https.html
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Https
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def createServer(): Server
- def createServer(options: ServerOptions): Server
- def createServer(requestListener: Function): Server
-
def
createServer(options: ServerOptions, requestListener: Function): Server
Returns a new HTTPS web server object.
Returns a new HTTPS web server object. The options is similar to tls.createServer(). The requestListener is a function which is automatically added to the 'request' event.
https.createServer(options[, requestListener])
Example: -
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def get(options: RequestOptions, callback: Function): ClientRequest
- def get(url: URL, callback: Function1[ServerResponse, Any]): ClientRequest
- def get(url: URL, options: RequestOptions, callback: Function1[ServerResponse, Any]): ClientRequest
- def get(url: String, callback: Function1[ServerResponse, Any]): ClientRequest
- def get(url: String, options: RequestOptions, callback: Function1[ServerResponse, Any]): ClientRequest
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
globalAgent: Agent
Global instance of https.Agent for all HTTPS client requests.
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- def request(options: RequestOptions, callback: Function1[ServerResponse, Any]): Unit
- def request(options: RequestOptions): Unit
- def request(url: URL): Unit
- def request(url: URL, callback: Function1[ServerResponse, Any]): Unit
- def request(url: URL, options: RequestOptions): Unit
- def request(url: URL, options: RequestOptions, callback: Function1[ServerResponse, Any]): Unit
- def request(url: String): Unit
- def request(url: String, callback: Function1[ServerResponse, Any]): Unit
- def request(url: String, options: RequestOptions): Unit
- def request(url: String, options: RequestOptions, callback: Function1[ServerResponse, Any]): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()