Skip to content

Commit

Permalink
docs(bindings): WebSockets docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakisan committed May 14, 2024
1 parent dcce9aa commit b7276dc
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
* WebSockets doesn't support virtual channels or, put it another way, there's only one channel and its characteristics
* are strongly related to the protocol used for the handshake, i.e., HTTP.
*
* @version 0.1.0
* @see <a href="https://github.com/asyncapi/bindings/tree/master/websockets#channel-binding-object">WebSockets channel binding</a>
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API">MDN WebSockets</a>
* @author Pavel Bodiachevskii
* @since 1.0.0-RC2
*/
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@
import lombok.EqualsAndHashCode;

/**
* This class <b>MUST NOT</b> contain any properties.
* <p>
* Its name is reserved for future use.
* <p>
* Describes WebSockets message binding.
*
* @version 0.1.0
* @see <a href="https://github.com/asyncapi/bindings/tree/master/websockets#message-binding-object">WebSockets message binding</a>
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API">MDN WebSockets</a>
* @author Pavel Bodiachevskii
* @since 1.0.0-RC2
*/
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@
import lombok.EqualsAndHashCode;

/**
* This class <b>MUST NOT</b> contain any properties.
* <p>
* Its name is reserved for future use.
* <p>
* Describes WebSockets operation binding.
*
* @version 0.1.0
* @see <a href="https://github.com/asyncapi/bindings/tree/master/websockets#operation-binding-object">WebSockets operation binding</a>
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API">MDN WebSockets</a>
* @author Pavel Bodiachevskii
* @since 1.0.0-RC2
*/
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,12 @@
import lombok.EqualsAndHashCode;

/**
* This class <b>MUST NOT</b> contain any properties.
* <p>
* Its name is reserved for future use.
* <p>
* Describes WebSockets server binding.
*
* @version 0.1.0
* @see <a href="https://github.com/asyncapi/bindings/tree/master/websockets#server-binding-object">WebSockets server binding</a>
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API">MDN WebSockets</a>
* @author Pavel Bodiachevskii
* @since 1.0.0-RC2
*/
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@
* WebSockets doesn't support virtual channels or, put it another way, there's only one channel and its characteristics
* are strongly related to the protocol used for the handshake, i.e., HTTP.
*
* @version 0.1.0
* @see <a href="https://github.com/asyncapi/bindings/tree/master/websockets#channel-binding-object">WebSockets channel binding</a>
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API">MDN WebSockets</a>
* @author Pavel Bodiachevskii
* @version 0.1.0
* @since 1.0.0-RC2
*/
@Data
@AllArgsConstructor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
* <p>
* Its value <b>MUST</b> be either GET or POST.
*
* @version 0.1.0
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API">MDN WebSockets</a>
* @author Pavel Bodiachevskii
* @version 0.1.0
* @since 1.0.0-RC2
*/
public enum WebSocketsChannelMethod {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
* <p>
* Describes WebSockets message binding.
*
* @version 0.1.0
* @see <a href="https://github.com/asyncapi/bindings/tree/master/websockets#message-binding-object">WebSockets message binding</a>
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API">MDN WebSockets</a>
* @author Pavel Bodiachevskii
* @version 0.1.0
* @since 1.0.0-RC2
*/
@Data
@EqualsAndHashCode(callSuper = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
* <p>
* Describes WebSockets operation binding.
*
* @version 0.1.0
* @see <a href="https://github.com/asyncapi/bindings/tree/master/websockets#operation-binding-object">WebSockets operation binding</a>
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API">MDN WebSockets</a>
* @author Pavel Bodiachevskii
* @version 0.1.0
* @since 1.0.0-RC2
*/
@Data
@EqualsAndHashCode(callSuper = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@
* <p>
* Describes WebSockets server binding.
*
* @version 0.1.0
* @see <a href="https://github.com/asyncapi/bindings/tree/master/websockets#server-binding-object">WebSockets server binding</a>
* @see <a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API">MDN WebSockets</a>
* @author Pavel Bodiachevskii
* @version 0.1.0
* @since 1.0.0-RC2
*/
@Data
@EqualsAndHashCode(callSuper = true)
Expand Down

0 comments on commit b7276dc

Please sign in to comment.