Skip to content

Commit c11c23b

Browse files
thefourtheyeitaloacasas
authored andcommitted
doc: make the heading consistent
All the other headings are in level 3. This patch fixes the offending heading to use level 3. PR-URL: #11569 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 67d2114 commit c11c23b

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

doc/api/deprecations.md

+76
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,79 @@ Type: Runtime
3838
`--debug` activates the legacy V8 debugger interface, which has been removed as
3939
of V8 5.8. It is replaced by Inspector which is activated with `--inspect`
4040
instead.
41+
42+
<a id="DEP0063"></a>
43+
### DEP0063: ServerResponse.prototype.writeHeader()
44+
45+
Type: Documentation-only
46+
47+
The `http` module `ServerResponse.prototype.writeHeader()` API has been
48+
deprecated. Please use `ServerResponse.prototype.writeHead()` instead.
49+
50+
*Note*: The `ServerResponse.prototype.writeHeader()` method was never documented
51+
as an officially supported API.
52+
53+
[alloc]: buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding
54+
[alloc_unsafe_size]: buffer.html#buffer_class_method_buffer_allocunsafe_size
55+
[`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size
56+
[`Buffer.isBuffer()`]: buffer.html#buffer_class_method_buffer_isbuffer_obj
57+
[`Buffer.from(array)`]: buffer.html#buffer_class_method_buffer_from_array
58+
[from_arraybuffer]: buffer.html#buffer_class_method_buffer_from_arraybuffer_byteoffset_length
59+
[`Buffer.from(buffer)`]: buffer.html#buffer_class_method_buffer_from_buffer
60+
[from_string_encoding]: buffer.html#buffer_class_method_buffer_from_string_encoding
61+
[`SlowBuffer`]: buffer.html#buffer_class_slowbuffer
62+
[`child_process`]: child_process.html
63+
[`console.error()`]: console.html#console_console_error_data_args
64+
[`console.log()`]: console.html#console_console_log_data_args
65+
[`crypto.createCredentials()`]: crypto.html#crypto_crypto_createcredentials_details
66+
[`crypto.pbkdf2()`]: crypto.html#crypto_crypto_pbkdf2_password_salt_iterations_keylen_digest_callback
67+
[`domain`]: domain.html
68+
[`Domain.dispose()`]: domain.html#domain_domain_dispose
69+
[`ecdh.setPublicKey()`]: crypto.html#crypto_ecdh_setpublickey_public_key_encoding
70+
[`emitter.listenerCount(eventName)`]: events.html#events_emitter_listenercount_eventname
71+
[`EventEmitter.listenerCount(emitter, eventName)`]: events.html#events_eventemitter_listenercount_emitter_eventname
72+
[`fs.exists(path, callback)`]: fs.html#fs_fs_exists_path_callback
73+
[`fs.stat()`]: fs.html#fs_fs_stat_path_callback
74+
[`fs.access()`]: fs.html#fs_fs_access_path_mode_callback
75+
[`fs.lchmod(path, mode, callback)`]: fs.html#fs_fs_lchmod_path_mode_callback
76+
[`fs.lchmodSync(path, mode)`]: fs.html#fs_fs_lchmodsync_path_mode
77+
[`fs.lchown(path, uid, gid, callback)`]: fs.html#fs_fs_lchown_path_uid_gid_callback
78+
[`fs.lchownSync(path, uid, gid)`]: fs.html#fs_fs_lchownsync_path_uid_gid
79+
[`fs.read()`]: fs.html#fs_fs_read_fd_buffer_offset_length_position_callback
80+
[`fs.readSync()`]: fs.html#fs_fs_readsync_fd_buffer_offset_length_position
81+
[`Server.connections`]: net.html#net_server_connections
82+
[`Server.getConnections()`]: net.html#net_server_getconnections_callback
83+
[`Server.listen({fd: <number>})`]: net.html#net_server_listen_handle_backlog_callback
84+
[`os.networkInterfaces`]: os.html#os_os_networkinterfaces
85+
[`os.tmpdir()`]: os.html#os_os_tmpdir
86+
[`punycode`]: punycode.html
87+
[`require.extensions`]: globals.html#globals_require_extensions
88+
[`tls.TLSSocket`]: tls.html#tls_class_tls_tlssocket
89+
[`tls.CryptoStream`]: tls.html#tls_class_cryptostream
90+
[`tls.SecurePair`]: tls.html#tls_class_securepair
91+
[`tls.SecureContext`]: tls.html#tls_tls_createsecurecontext_options
92+
[`tls.createSecureContext()`]: tls.html#tls_tls_createsecurecontext_options
93+
[`util`]: util.html
94+
[`util.debug()`]: util.html#util_util_debug_string
95+
[`util.error()`]: util.html#util_util_error_strings
96+
[`util.puts()`]: util.html#util_util_puts_strings
97+
[`util.print()`]: util.html#util_util_print_strings
98+
[`util.isArray()`]: util.html#util_util_isarray_object
99+
[`util.isBoolean()`]: util.html#util_util_isboolean_object
100+
[`util.isBuffer()`]: util.html#util_util_isbuffer_object
101+
[`util.isDate()`]: util.html#util_util_isdate_object
102+
[`util.isError()`]: util.html#util_util_iserror_object
103+
[`util.isFunction()`]: util.html#util_util_isfunction_object
104+
[`util.isNull()`]: util.html#util_util_isnull_object
105+
[`util.isNullOrUndefined()`]: util.html#util_util_isnullorundefined_object
106+
[`util.isNumber()`]: util.html#util_util_isnumber_object
107+
[`util.isObject()`]: util.html#util_util_isobject_object
108+
[`util.isPrimitive()`]: util.html#util_util_isprimitive_object
109+
[`util.isRegExp()`]: util.html#util_util_isregexp_object
110+
[`util.isString()`]: util.html#util_util_isstring_object
111+
[`util.isSymbol()`]: util.html#util_util_issymbol_object
112+
[`util.isUndefined()`]: util.html#util_util_isundefined_object
113+
[`util.log()`]: util.html#util_util_log_string
114+
[`util._extend()`]: util.html#util_util_extend_target_source
115+
[`worker.suicide`]: cluster.html#cluster_worker_suicide
116+
[`worker.exitedAfterDisconnect`]: cluster.html#cluster_worker_exitedafterdisconnect

0 commit comments

Comments
 (0)