mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 10:33:54 +00:00
BREAKING CHANGE: rename TLS APIs to camel case (#4888)
This commit renames all APIs containing "TLS" to use camel case (connectTLS -> connectTls, etc.)
This commit is contained in:
parent
6efdacddf3
commit
6a37e4426e
8 changed files with 46 additions and 46 deletions
|
@ -22,7 +22,7 @@ interface EstablishTLSResponse {
|
|||
};
|
||||
}
|
||||
|
||||
export function connectTLS(
|
||||
export function connectTls(
|
||||
args: ConnectTLSRequest
|
||||
): Promise<EstablishTLSResponse> {
|
||||
return sendAsync("op_connect_tls", args);
|
||||
|
@ -63,7 +63,7 @@ interface ListenTLSResponse {
|
|||
};
|
||||
}
|
||||
|
||||
export function listenTLS(args: ListenTLSRequest): ListenTLSResponse {
|
||||
export function listenTls(args: ListenTLSRequest): ListenTLSResponse {
|
||||
return sendSync("op_listen_tls", args);
|
||||
}
|
||||
|
||||
|
@ -73,6 +73,6 @@ export interface StartTLSRequest {
|
|||
certFile?: string;
|
||||
}
|
||||
|
||||
export function startTLS(args: StartTLSRequest): Promise<EstablishTLSResponse> {
|
||||
export function startTls(args: StartTLSRequest): Promise<EstablishTLSResponse> {
|
||||
return sendAsync("op_start_tls", args);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue