Skip to content

Commit d4201cd

Browse files
authored
Update README.md
1 parent 0e7c998 commit d4201cd

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,8 @@ There are 3 types of Proxies
562562
* [Virtual Proxy](#virtual-proxy) - Which prevents creating an object until it is really necessary to save resources.
563563
* [Remote Proxy](#remote-proxy) - Which duty is to create a correct request to ask a remote real object which may not be in our domain.
564564

565-
**Protection proxy**
565+
Protection proxy
566+
-------
566567

567568
### Example
568569

@@ -599,7 +600,8 @@ localBank.pay(Transaction(3.15, true)) // It won't allow us to pay
599600
localBank.pay(Transaction(3.15, false)) // It will work
600601
```
601602

602-
**Virtual Proxy**
603+
Virtual Proxy
604+
------------
603605

604606
We can use kotlin's [lazy delegation](https://kotlinlang.org/docs/reference/delegated-properties.html#lazy)
605607

@@ -642,7 +644,8 @@ virtualScreen.show() // RealScreen is needed now, so we create it
642644

643645
```
644646

645-
**Remote Proxy**
647+
Remote Proxy
648+
----------
646649

647650
### Example
648651

0 commit comments

Comments
 (0)