Skip to content

Commit a072bab

Browse files
committed
Update module docs and copyrights
1 parent 66f9526 commit a072bab

7 files changed

+24
-21
lines changed

src/elli_bstr.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
%% @author Maas-Maarten Zeeman <[email protected]>
2-
%% @copyright 2013 Maas-Maarten Zeeman
2+
%% @copyright 2013, Maas-Maarten Zeeman; 2018, elli-lib team
33
%%
44
%% @doc Binary String Helper Functions
5+
%% @end
56
%%
67
%% Copyright 2013 Maas-Maarten Zeeman
8+
%% Copyright 2018 elli-lib team
79
%%
810
%% Licensed under the Apache License, Version 2.0 (the "License");
911
%% you may not use this file except in compliance with the License.

src/elli_example_websocket.erl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
%%
2-
%%
3-
%%
4-
5-
61
-module(elli_example_websocket).
72
-author("Maas-Maarten Zeeman <[email protected]>").
83

src/elli_websocket.erl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
%% @author Maas-Maarten Zeeman <[email protected]>
2-
%% @copyright 2012, 2013 Maas-Maarten Zeeman
2+
%% @copyright 2012-2013, Maas-Maarten Zeeman; 2018, elli-lib team
33
%%
4-
%% @doc Elli Websocket Handler
4+
%% @doc Elli Websocket Handler
5+
%% @end
56
%%
6-
%% Copyright 2013 Maas-Maarten Zeeman
7+
%% Copyright 2012-2013, Maas-Maarten Zeeman
8+
%% Copyright 2018, elli-lib team
79
%%
810
%% Licensed under the Apache License, Version 2.0 (the "License");
911
%% you may not use this file except in compliance with the License.
1012
%% You may obtain a copy of the License at
11-
%%
13+
%%
1214
%% http://www.apache.org/licenses/LICENSE-2.0
13-
%%
15+
%%
1416
%% Unless required by applicable law or agreed to in writing, software
1517
%% distributed under the License is distributed on an "AS IS" BASIS,
1618
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

src/elli_websocket_handler.erl

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
%% @author Maas-Maarten Zeeman <[email protected]>
2-
%% @copyright 2013 Maas-Maarten Zeeman
2+
%% @copyright 2013, Maas-Maarten Zeeman; 2018, elli-lib team
33
%%
44
%% @doc Elli WebSocket Handler Behaviour
5+
%% @end
56
%%
67
%% Copyright 2013 Maas-Maarten Zeeman
8+
%% Copyright 2018 elli-lib team
79
%%
810
%% Licensed under the Apache License, Version 2.0 (the "License");
911
%% you may not use this file except in compliance with the License.
1012
%% You may obtain a copy of the License at
11-
%%
13+
%%
1214
%% http://www.apache.org/licenses/LICENSE-2.0
13-
%%
15+
%%
1416
%% Unless required by applicable law or agreed to in writing, software
1517
%% distributed under the License is distributed on an "AS IS" BASIS,
1618
%% WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -24,8 +26,8 @@
2426
-callback websocket_init(Req :: elli:req(), Args :: any()) ->
2527
{ok, Headers :: elli:headers(), State :: any()} |
2628
{ok, Headers :: elli:headers(), hibernate, State :: any()} |
27-
{ok, Headers :: elli:headers(), Timeout :: non_neg_integer(), State :: any()} |
28-
{ok, Headers :: elli:headers(), hibernate, Timeout :: non_neg_integer(), State :: any()} |
29+
{ok, Headers :: elli:headers(), Timeout :: non_neg_integer(), State :: any()} |
30+
{ok, Headers :: elli:headers(), hibernate, Timeout :: non_neg_integer(), State :: any()} |
2931
{shutdown, Headers :: elli:headers()}.
3032

3133

@@ -35,5 +37,5 @@
3537
-callback websocket_info(Req :: elli:req(), Message :: any(), State :: any()) ->
3638
{ok, ReplyState :: any()}.
3739

38-
-callback websocket_handle_event(Event :: elli_websocket:event(), Args :: list(), State :: any()) ->
40+
-callback websocket_handle_event(Event :: elli_websocket:event(), Args :: list(), State :: any()) ->
3941
ok.

src/elli_ws_http.erl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
%%
2-
%% Some simple parsing routines.
3-
%%
1+
%%% @doc Some simple parsing routines.
42

53
-module(elli_ws_http).
64

src/elli_ws_protocol.erl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
%% Copyright (c) 2011-2013, Loïc Hoguin <[email protected]>
22
%% Copyright (c) 2013, Maas-Maarten Zeeman <[email protected]>
3+
%% Copyright (c) 2018, elli-lib team
34
%%
45
%% Permission to use, copy, modify, and/or distribute this software for any
56
%% purpose with or without fee is hereby granted, provided that the above
@@ -14,6 +15,7 @@
1415
%% OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1516

1617
%% @doc Websocket protocol implementation.
18+
%% @end
1719
%%
1820
%% Cowboy supports versions 7 through 17 of the Websocket drafts.
1921
%% It also supports RFC6455, the proposed standard for Websocket.

src/elli_ws_request_adapter.erl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
%% @author Maas-Maarten Zeeman <[email protected]>
2-
%% @copyright 2013 Maas-Maarten Zeeman
2+
%% @copyright 2013, Maas-Maarten Zeeman; 2018, elli-lib team
33
%%
44
%% @doc Elli WebSocket Request Adapter.
5+
%% @end
56
%%
67
%% Copyright 2013 Maas-Maarten Zeeman
8+
%% Copyright 2018 elli-lib-team
79
%%
810
%% Licensed under the Apache License, Version 2.0 (the "License");
911
%% you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)